summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/fldfunc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/fldfunc.cxx')
-rw-r--r--sw/source/ui/fldui/fldfunc.cxx24
1 files changed, 0 insertions, 24 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)
{