Commit 27ff0921 authored by Thorsten Zachmann's avatar Thorsten Zachmann

o use insertPage

svn path=/trunk/koffice/; revision=730547
parent a4766cbd
......@@ -107,7 +107,7 @@ bool KoPADocument::loadOasis( const KoXmlDocument & doc, KoOasisStyles& oasisSty
qDebug() << "Master:" << it.key();
KoPAMasterPage * masterPage = newMasterPage();
masterPage->loadOdf( *( it.value() ), paContext );
m_masterPages.append( masterPage );
insertPage( masterPage, -1 );
paContext.addMasterPage (it.key(), masterPage);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment