summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/rtfexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/rtfexport.cxx')
-rw-r--r--sw/source/filter/ww8/rtfexport.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 4ae68d2be8f0..33ab00928488 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -468,13 +468,6 @@ void RtfExport::WritePageDescTable()
void RtfExport::ExportDocument_Impl()
{
-#if OSL_DEBUG_LEVEL > 1
- // MSWordExportBase::WriteText and others write debug messages to std::clog
- // which is not interesting while debugging RtfExport
- std::ostringstream aOss;
- std::streambuf *pOldBuf = std::clog.rdbuf(aOss.rdbuf());
-#endif
-
// Make the header
Strm() << '{' << OOO_STRING_SVTOOLS_RTF_RTF << '1'
<< OOO_STRING_SVTOOLS_RTF_ANSI;
@@ -681,10 +674,6 @@ void RtfExport::ExportDocument_Impl()
WriteMainText();
Strm() << '}';
-
-#if OSL_DEBUG_LEVEL > 1
- std::clog.rdbuf(pOldBuf);
-#endif
}
void RtfExport::PrepareNewPageDesc( const SfxItemSet* pSet,