diff options
author | Valentin Kettner <vakevk+libreoffice@gmail.com> | 2014-07-24 16:46:12 +0200 |
---|---|---|
committer | Valentin Kettner <vakevk+libreoffice@gmail.com> | 2014-08-12 23:26:36 +0200 |
commit | 69e5f335abcd838ad6dac04f8e2d14f39856dc43 (patch) | |
tree | 19b7e1a929576ec4da8ca981d8aee7a519b119bd /sw/source/ui | |
parent | 274f1811b92b870b8d450423d9b280b0889ca130 (diff) |
Refactored IDocumentFieldsAccess out of SwDoc.
Into the new class DocumentFieldsManager.
Removed SwDoc::_MakeFldList because it is not defined anywhere.
Also moved a few non interface methods that belong to the manager.
Change-Id: Icefd7ca7adcbb05a18d6fae0529fc54150b862fd
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/fldui/fldvar.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index 2a1a9c4435d1..178495830f41 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -19,6 +19,7 @@ #include <swtypes.hxx> #include <sfx2/linkmgr.hxx> +#include <IDocumentFieldsAccess.hxx> #include <usrfld.hxx> #include <docufld.hxx> #include <expfld.hxx> @@ -890,7 +891,7 @@ IMPL_LINK_NOARG(SwFldVarPage, ModifyHdl) pSh = ::GetActiveWrtShell(); if(pSh) { - const SwFldTypes* p = pSh->GetDoc()->GetFldTypes(); + const SwFldTypes* p = pSh->GetDoc()->getIDocumentFieldsAccess().GetFldTypes(); sal_uInt16 i; for (i = 0; i < INIT_FLDTYPES; i++) |