diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-09-20 07:51:29 -0700 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-09-20 07:52:42 -0700 |
commit | 2381e89bd31ccac74d80df08e2992aa44b79b820 (patch) | |
tree | a53a2407cc13b2f927bbf4c617ebddb3b5d561ca /sdext | |
parent | 09a546ed1f4ca691ab9a81e0a0a08ec53f99a558 (diff) |
fix Windows build, dbglevel=2
Change-Id: I7dba2852a32a1b1c8309b5981e6b535c6dfb1b8c
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfparse.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index b50e60e10303..c3ee50888066 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -559,16 +559,16 @@ PDFEntry* PDFReader::read( const char* pBuffer, unsigned int nLen ) aGrammar, boost::spirit::space_p ); #if OSL_DEBUG_LEVEL > 1 - SAL_INFO("sdext.pdfimport.pdfparse", "parseinfo: stop = " << aInfo.stop << " (buff=" << pBuffer << ", offset = " << aInfo.stop - pBuffer << "), hit = " << aInfo.hit ? "true" : "false" << ", full = " << aInfo.full ? "true" : "false" << ", length = " << (int)aInfo.length ); + SAL_INFO("sdext.pdfimport.pdfparse", "parseinfo: stop = " << aInfo.stop << " (buff=" << pBuffer << ", offset = " << aInfo.stop - pBuffer << "), hit = " << (aInfo.hit ? OUString("true") : OUString("false")) << ", full = " << (aInfo.full ? OUString("true") : OUString("false")) << ", length = " << (int)aInfo.length ); #endif } catch( const parser_error<const char*, const char*>& rError ) { #if OSL_DEBUG_LEVEL > 1 - OUString aTmp; - unsigned int nElem = aGrammar.m_aObjectStack.size() + OString aTmp; + unsigned int nElem = aGrammar.m_aObjectStack.size(); for( unsigned int i = 0; i < nElem; i++ ) - aTmp += " " + OUString(typeid( *(aGrammar.m_aObjectStack[i]) ).name()); + aTmp += " " + OString(typeid( *(aGrammar.m_aObjectStack[i]) ).name()); SAL_WARN("sdext.pdfimport.pdfparse", "parse error: " << rError.descriptor << " at buffer pos " << rError.where - pBuffer << ", object stack: " << aTmp); #endif |