diff options
Diffstat (limited to 'sw/source/filter/xml/xmlfmt.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlfmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlfmt.cxx b/sw/source/filter/xml/xmlfmt.cxx index ee7dfccd778b..7eb47f1d4cf0 100644 --- a/sw/source/filter/xml/xmlfmt.cxx +++ b/sw/source/filter/xml/xmlfmt.cxx @@ -647,7 +647,7 @@ void SwXMLItemSetStyleContext_Impl::ConnectPageDesc() sName, nsSwGetPoolIdFromName::GET_POOLID_PAGEDESC, true); - SwPageDesc *pPageDesc = pDoc->FindPageDesc(sName); + SwPageDesc *pPageDesc = pDoc->FindPageDescByName(sName); if( !pPageDesc ) { // If the page style is a pool style, then we maybe have to create it |