summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-10 22:13:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-10 23:04:36 +0200
commit62f489c88ea0067adb0f6762c6bc331c2c51005d (patch)
tree0eae979b4a6f0e72ff2a91f6a2ba2c3f4921fa98 /sw/source
parent1a9293242b90920b24880cbc69406296cae581df (diff)
loplugin:staticmethods
Change-Id: I00acce39f94653ef8e2465f15ba572b619a1c7fb
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/frmedt/fefly1.cxx2
-rw-r--r--sw/source/uibase/shells/basesh.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index 3f126fbad84f..d1cda53630db 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -1053,7 +1053,7 @@ bool SwFEShell::SetFlyFrmAttr( SfxItemSet& rSet )
return bRet;
}
-SfxItemSet SwFEShell::makeItemSetFromFormatAnchor(SfxItemPool& rPool, const SwFormatAnchor &rAnchor) const
+SfxItemSet SwFEShell::makeItemSetFromFormatAnchor(SfxItemPool& rPool, const SwFormatAnchor &rAnchor)
{
// The set also includes VERT/HORI_ORIENT, because the align
// shall be changed in FEShell::SetFlyFrmAttr/SetFlyFrmAnchor,
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 07eb9eed9e0e..92898c5c3696 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1013,7 +1013,7 @@ void SwBaseShell::Execute(SfxRequest &rReq)
else if (rSh.IsFrmSelected())
{
SwFormatAnchor aAnc(eSet, rSh.GetPhyPageNum());
- SfxItemSet aSet(rSh.makeItemSetFromFormatAnchor(GetPool(), aAnc));
+ SfxItemSet aSet(SwFEShell::makeItemSetFromFormatAnchor(GetPool(), aAnc));
rSh.SetFlyFrmAttr(aSet);
}
// if new anchor is 'as char' and it is a Math object and the usual