summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/fldui/fldfunc.cxx24
-rw-r--r--sw/source/ui/fldui/fldfunc.hxx1
2 files changed, 0 insertions, 25 deletions
diff --git a/sw/source/ui/fldui/fldfunc.cxx b/sw/source/ui/fldui/fldfunc.cxx
index 0c9587bb0013..b06f044c4cd9 100644
--- a/sw/source/ui/fldui/fldfunc.cxx
+++ b/sw/source/ui/fldui/fldfunc.cxx
@@ -600,30 +600,6 @@ bool SwFieldFuncPage::FillItemSet(SfxItemSet* )
return false;
}
-OUString SwFieldFuncPage::TurnMacroString(const OUString &rMacro)
-{
- if (!rMacro.isEmpty())
- {
- // reverse content of aName
- OUString sMacro;
- sal_Int32 nPos = 0;
-
- for (int i = 0; i < 4 && nPos != -1; i++)
- {
- OUString sTmp = (i == 3)
- ? rMacro.copy(nPos)
- : rMacro.getToken(0, '.', nPos);
-
- sMacro = !sMacro.isEmpty()
- ? sTmp + "." + sMacro
- : sTmp;
- }
- return sMacro;
- }
-
- return rMacro;
-}
-
VclPtr<SfxTabPage> SwFieldFuncPage::Create( vcl::Window* pParent,
const SfxItemSet *const pAttrSet)
{
diff --git a/sw/source/ui/fldui/fldfunc.hxx b/sw/source/ui/fldui/fldfunc.hxx
index 2f969b2af15d..3789057d6ac1 100644
--- a/sw/source/ui/fldui/fldfunc.hxx
+++ b/sw/source/ui/fldui/fldfunc.hxx
@@ -80,7 +80,6 @@ class SwFieldFuncPage : public SwFieldPage
DECL_LINK( MacroHdl, Button *, void );
void UpdateSubType();
- static OUString TurnMacroString(const OUString &rMacro);
protected:
virtual sal_uInt16 GetGroup() override;