diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index d2c16ff..123a68a 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -106,6 +106,7 @@ #if OSL_DEBUG_LEVEL > 0 #include #endif +#include "dbgoutsw.hxx" using namespace ::com::sun::star; using namespace ::com::sun::star::i18n; @@ -1609,6 +1610,8 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode ) ::std::clog << "" << ::std::endl; #endif + if (rNode.IsTxtNode()) + printf("debug, rNode's text is '%s'\n", dbg_out(rNode.GetTxt())); ww8::WW8TableNodeInfo::Pointer_t pTextNodeInfo( mpTableInfo->getTableNodeInfo( &rNode ) ); AttrOutput().StartParagraph( pTextNodeInfo ); @@ -1745,6 +1748,7 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode ) nLen -= static_cast< USHORT >( ofs ); String aSnippet( aAttrIter.GetSnippet( aStr, nAktPos + static_cast< USHORT >( ofs ), nLen ) ); + printf("debug, aSnippet is '%s'\n", dbg_out(aSnippet)); if ( ( nTxtTyp == TXT_EDN || nTxtTyp == TXT_FTN ) && nAktPos == 0 && nLen > 0 ) { // Insert tab for aesthetic puposes #i24762#