summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-01 16:27:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:07:31 +0200
commit41874c93e6eea179185f260ed42f1cd4789900d5 (patch)
tree58c5e322ec99bd45d911ad5e1aa4d977fa215ff7 /sw
parentc63bf22b215b2e51ea69527fd80693079572b640 (diff)
dbg_out(SwRewriter) is unused
Change-Id: I2ebdba0a162bd02d0b36f6577af09b6f95b356d2
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/dbgoutsw.hxx2
-rw-r--r--sw/source/core/doc/dbgoutsw.cxx17
2 files changed, 0 insertions, 19 deletions
diff --git a/sw/inc/dbgoutsw.hxx b/sw/inc/dbgoutsw.hxx
index e70d032ff803..803dc0729a9b 100644
--- a/sw/inc/dbgoutsw.hxx
+++ b/sw/inc/dbgoutsw.hxx
@@ -41,7 +41,6 @@ class SwRect;
class SwFrameFormat;
class SwFrameFormats;
class SwNodes;
-class SwRewriter;
class SwNumRuleTable;
class SwNumRule;
class SwOutlineNodes;
@@ -70,7 +69,6 @@ SW_DLLPUBLIC const char * dbg_out(const SwPaM & rPam);
SW_DLLPUBLIC const char * dbg_out(const SwNodeNum & rNum);
SW_DLLPUBLIC const char * dbg_out(const SwUndo & rUndo);
SW_DLLPUBLIC const char * dbg_out(SwOutlineNodes & rNodes);
-SW_DLLPUBLIC const char * dbg_out(const SwRewriter & rRewriter);
SW_DLLPUBLIC const char * dbg_out(const SwNumRule & rRule);
SW_DLLPUBLIC const char * dbg_out(const SwTextFormatColl & rFormat);
SW_DLLPUBLIC const char * dbg_out(const SwFrameFormats & rFrameFormats);
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
index 45fdaa220720..ed1e411f6cb7 100644
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -41,7 +41,6 @@
#include <paratr.hxx>
#include <SwNodeNum.hxx>
#include <dbgoutsw.hxx>
-#include <SwRewriter.hxx>
#include <iostream>
#include <cstdio>
@@ -797,22 +796,6 @@ const char * dbg_out(SwOutlineNodes & rNodes)
return dbg_out(lcl_dbg_out(rNodes));
}
-//FIXME: this method seems to do nothing at all
-static OUString lcl_dbg_out(const SwRewriter & rRewriter)
-{
- (void) rRewriter;
- OUString aResult;
-
- //aResult = rRewriter.ToString();
-
- return aResult;
-}
-
-const char * dbg_out(const SwRewriter & rRewriter)
-{
- return dbg_out(lcl_dbg_out(rRewriter));
-}
-
static OUString lcl_dbg_out(const SvxNumberFormat & rFormat)
{
OUString aResult;