summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8glsy.cxx
diff options
context:
space:
mode:
authorValentin Kettner <vakevk+libreoffice@gmail.com>2014-08-08 19:16:38 +0200
committerValentin Kettner <vakevk+libreoffice@gmail.com>2014-08-12 23:26:38 +0200
commit535971f3a166da6c0e44a6b7211c7f8c298f388f (patch)
tree0336851da5207b32512a6833be9f7b0412bdf96d /sw/source/filter/ww8/ww8glsy.cxx
parent5494954b269267f6ee3bdd5ac73e7513fa69978f (diff)
Refactored IDocumentStylePoolAccess out of SwDoc.
Added non const SwDoc::GetDfltTxtFmtColl and SwDoc::GetTxtFmtColls and SwDoc::GetCharFmts. Had to make the manager friend of SwTxtFmtColl and SwConditionTxtFmtColl Had to make SwDoc::_MakeCharFmt and SwDoc::_MakeFrmFmt public. Change-Id: I19a36d91f92b3781a6c4313ec12eb8f7d4dfacc3
Diffstat (limited to 'sw/source/filter/ww8/ww8glsy.cxx')
-rw-r--r--sw/source/filter/ww8/ww8glsy.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8glsy.cxx b/sw/source/filter/ww8/ww8glsy.cxx
index 5a5cbc6caf93..5312c8985edb 100644
--- a/sw/source/filter/ww8/ww8glsy.cxx
+++ b/sw/source/filter/ww8/ww8glsy.cxx
@@ -28,6 +28,7 @@
#include <fmtanchr.hxx>
#include <frmfmt.hxx>
#include <doc.hxx>
+#include <IDocumentStylePoolAccess.hxx>
#include <docary.hxx>
#include "ww8glsy.hxx"
#include "ww8par.hxx"
@@ -105,7 +106,7 @@ bool WW8Glossary::MakeEntries(SwDoc *pD, SwTextBlocks &rBlocks,
if( aStart < aDocEnd )
{
- SwTxtFmtColl* pColl = pD->GetTxtCollFromPool
+ SwTxtFmtColl* pColl = pD->getIDocumentStylePoolAccess().GetTxtCollFromPool
(RES_POOLCOLL_STANDARD, false);
sal_uInt16 nGlosEntry = 0;
SwCntntNode* pCNd = 0;