summaryrefslogtreecommitdiff
path: root/sw/source/core/edit
diff options
context:
space:
mode:
authorValentin Kettner <vakevk+libreoffice@gmail.com>2014-05-25 14:10:13 +0200
committerValentin Kettner <vakevk+libreoffice@gmail.com>2014-06-03 19:12:02 +0200
commit6f77ce5870101021d6e1056ccddb443f3825c41d (patch)
tree545c6c914257857eb179f7bf8c38152afa343651 /sw/source/core/edit
parent72e71364c68ccbfac3cd880a8d1059c574856163 (diff)
Removed DocumentSettingManager methods from SwDoc.
And moved all calls to those methods to GetDocumentSettingManager(). Change-Id: I9b6cc8c3aa9b57bbc0c39f39499dfb4f5f254ad9
Diffstat (limited to 'sw/source/core/edit')
-rw-r--r--sw/source/core/edit/edfld.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index ef432da45247..3478c0dcd7f6 100644
--- a/sw/source/core/edit/edfld.cxx
+++ b/sw/source/core/edit/edfld.cxx
@@ -36,6 +36,7 @@
#include <hints.hxx>
#include <switerator.hxx>
#include <fieldhint.hxx>
+#include <DocumentSettingManager.hxx>
/// count field types with a ResId, if 0 count all
sal_uInt16 SwEditShell::GetFldTypeCount(sal_uInt16 nResId, bool bUsed ) const
@@ -412,7 +413,7 @@ SwFldUpdateFlags SwEditShell::GetFldUpdateFlags(bool bDocSettings) const
void SwEditShell::SetLabelDoc( bool bFlag )
{
- GetDoc()->set(IDocumentSettingAccess::LABEL_DOCUMENT, bFlag );
+ GetDoc()->GetDocumentSettingManager().set(IDocumentSettingAccess::LABEL_DOCUMENT, bFlag );
}
bool SwEditShell::IsLabelDoc() const