diff options
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlimp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index 5e22cea194cc..b1384c08ae62 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -37,6 +37,7 @@ #include <drawdoc.hxx> #include <IDocumentSettingAccess.hxx> #include <IDocumentDeviceAccess.hxx> +#include <IDocumentStylePoolAccess.hxx> #include <IDocumentDrawModelAccess.hxx> #include <unofreg.hxx> #include <TextCursorHelper.hxx> @@ -664,7 +665,7 @@ void SwXMLImport::startDocument() // Insert all content into the new node pPaM->Move( fnMoveBackward ); pDoc->SetTxtFmtColl - ( *pPaM, pDoc->GetTxtCollFromPool(RES_POOLCOLL_STANDARD, false ) ); + ( *pPaM, pDoc->getIDocumentStylePoolAccess().GetTxtCollFromPool(RES_POOLCOLL_STANDARD, false ) ); } } |