summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edfld.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-03 11:31:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-06 07:04:50 +0000
commite9c3583c2cc27fc88ee81047c236ec99dd51e8de (patch)
treeb3e8394ca1ec402a31b227339366fc790124c1f8 /sw/source/core/edit/edfld.cxx
parent89c77994d4638c86635c70535fab6508e2f3d900 (diff)
improve the returnbyref loplugin
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/core/edit/edfld.cxx')
-rw-r--r--sw/source/core/edit/edfld.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index 73cc853b1d60..4a5e60c2dae3 100644
--- a/sw/source/core/edit/edfld.cxx
+++ b/sw/source/core/edit/edfld.cxx
@@ -405,12 +405,12 @@ void SwEditShell::UnlockExpFields()
void SwEditShell::SetFieldUpdateFlags( SwFieldUpdateFlags eFlags )
{
- getIDocumentSettingAccess()->setFieldUpdateFlags( eFlags );
+ getIDocumentSettingAccess().setFieldUpdateFlags( eFlags );
}
SwFieldUpdateFlags SwEditShell::GetFieldUpdateFlags(bool bDocSettings) const
{
- return getIDocumentSettingAccess()->getFieldUpdateFlags( !bDocSettings );
+ return getIDocumentSettingAccess().getFieldUpdateFlags( !bDocSettings );
}
void SwEditShell::SetLabelDoc( bool bFlag )
@@ -420,7 +420,7 @@ void SwEditShell::SetLabelDoc( bool bFlag )
bool SwEditShell::IsLabelDoc() const
{
- return getIDocumentSettingAccess()->get(DocumentSettingId::LABEL_DOCUMENT);
+ return getIDocumentSettingAccess().get(DocumentSettingId::LABEL_DOCUMENT);
}
void SwEditShell::ChangeAuthorityData(const SwAuthEntry* pNewData)