diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-11-28 12:23:18 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-12-05 18:09:43 +0100 |
commit | b8b1b45cb4c9f1fb31a6e107d0131affeb99fce5 (patch) | |
tree | 0a6fe0d6c6f1169015f06a35d09800014c384468 /sw | |
parent | cc41d0fc6761b6cc4daec3a5ce853c3ac381b43e (diff) |
WW8TableNodeInfo debug outputs now for DBG_UTIL only builds
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 8 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtww8.cxx | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index b05457444a98..95895e82f3aa 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -1559,7 +1559,7 @@ void WW8AttributeOutput::FormatDrop( const SwTxtNode& rNode, const SwFmtDrop &rS if ( pTextNodeInfo.get() != NULL ) { -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << pTextNodeInfo->toString() << ::std::endl; #endif @@ -1742,7 +1742,7 @@ void MSWordExportBase::GetSortedBookmarks( const SwTxtNode& rNode, xub_StrLen nA void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode ) { -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "<OutWW8_SwTxtNode>" << ::std::endl; #endif @@ -2044,7 +2044,7 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode ) if ( pTextNodeInfo.get() != NULL ) { -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << pTextNodeInfo->toString() << ::std::endl; #endif @@ -2346,7 +2346,7 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode ) AttrOutput().EndParagraph( pTextNodeInfoInner ); -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "</OutWW8_SwTxtNode>" << ::std::endl; #endif } diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index 9a519ea6b26e..c5b7afbe0f45 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -3622,7 +3622,7 @@ void WW8AttributeOutput::TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer SVBT16 nStyle; ShortToSVBT16( m_rWW8Export.nStyleBeforeFly, nStyle ); -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "<OutWW8_TableNodeInfoInner>" << pNodeInfoInner->toString(); #endif @@ -3652,7 +3652,7 @@ void WW8AttributeOutput::TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer if (pNodeInfoInner->isEndOfCell()) { -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "<endOfCell/>" << ::std::endl; #endif m_rWW8Export.WriteCR(pNodeInfoInner); @@ -3687,7 +3687,7 @@ void WW8AttributeOutput::TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer if (pNodeInfoInner->isEndOfLine()) { -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "<endOfLine/>" << ::std::endl; #endif TableRowEnd(pNodeInfoInner->getDepth()); @@ -3699,7 +3699,7 @@ void WW8AttributeOutput::TableNodeInfoInner( ww8::WW8TableNodeInfoInner::Pointer m_rWW8Export.pO->clear(); } -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "</OutWW8_TableNodeInfoInner>" << ::std::endl; #endif } @@ -3712,7 +3712,7 @@ void MSWordExportBase::OutputStartNode( const SwStartNode & rNode) if (pNodeInfo.get() != NULL) { -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << pNodeInfo->toString() << ::std::endl; #endif @@ -3727,7 +3727,7 @@ void MSWordExportBase::OutputStartNode( const SwStartNode & rNode) ++aIt; } } -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "</OutWW8_SwStartNode>" << ::std::endl; #endif } @@ -3744,7 +3744,7 @@ void MSWordExportBase::OutputEndNode( const SwEndNode &rNode ) if (pNodeInfo.get() != NULL) { -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << pNodeInfo->toString() << ::std::endl; #endif @@ -3758,7 +3758,7 @@ void MSWordExportBase::OutputEndNode( const SwEndNode &rNode ) ++aIt; } } -#if OSL_DEBUG_LEVEL > 1 +#ifdef DBG_UTIL ::std::clog << "</OutWW8_SwEndNode>" << ::std::endl; #endif } |