Kaydet (Commit) 73e0656d authored tarafından Michael Stahl's avatar Michael Stahl

writerfilter: fix typo in SAL_INFO log area (and put this in an ifdef)

Change-Id: Ib195fe8f66244ae98f68cdb6bba6b62d70567014
üst 1974b160
...@@ -277,8 +277,10 @@ int RTFTokenizer::dispatchKeyword(OString& rKeyword, bool bParam, int nParam) ...@@ -277,8 +277,10 @@ int RTFTokenizer::dispatchKeyword(OString& rKeyword, bool bParam, int nParam)
{ {
if (m_rImport.getDestinationState() == DESTINATION_SKIP) if (m_rImport.getDestinationState() == DESTINATION_SKIP)
return 0; return 0;
/*SAL_INFO("writefilter", OSL_THIS_FUNC << ": keyword '\\" << rKeyword.getStr() << #if OSL_DEBUG_LEVEL > 1
"' with param? " << (bParam ? 1 : 0) <<" param val: '" << (bParam ? nParam : 0) << "'");*/ SAL_INFO("writerfilter.rtf", OSL_THIS_FUNC << ": keyword '\\" << rKeyword.getStr() <<
"' with param? " << (bParam ? 1 : 0) <<" param val: '" << (bParam ? nParam : 0) << "'");
#endif
RTFSymbol aSymbol; RTFSymbol aSymbol;
aSymbol.sKeyword = rKeyword.getStr(); aSymbol.sKeyword = rKeyword.getStr();
std::vector<RTFSymbol>::iterator low = std::lower_bound(m_aRTFControlWords.begin(), m_aRTFControlWords.end(), aSymbol); std::vector<RTFSymbol>::iterator low = std::lower_bound(m_aRTFControlWords.begin(), m_aRTFControlWords.end(), aSymbol);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment