diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-02-25 13:10:55 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-25 14:06:13 +0100 |
commit | 73e0656d6c2f22ab237e9ea60b1ec9be3e791c9a (patch) | |
tree | 53798d971b627d6fd2f9b3a03596d155e02fdbc9 /writerfilter | |
parent | 1974b1601c0500e0db56f6cfd9db6bd25dcccfab (diff) |
writerfilter: fix typo in SAL_INFO log area (and put this in an ifdef)
Change-Id: Ib195fe8f66244ae98f68cdb6bba6b62d70567014
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtftokenizer.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/writerfilter/source/rtftok/rtftokenizer.cxx b/writerfilter/source/rtftok/rtftokenizer.cxx index 1750306c8d02..497c5513ab68 100644 --- a/writerfilter/source/rtftok/rtftokenizer.cxx +++ b/writerfilter/source/rtftok/rtftokenizer.cxx @@ -277,8 +277,10 @@ int RTFTokenizer::dispatchKeyword(OString& rKeyword, bool bParam, int nParam) { if (m_rImport.getDestinationState() == DESTINATION_SKIP) return 0; - /*SAL_INFO("writefilter", OSL_THIS_FUNC << ": keyword '\\" << rKeyword.getStr() << - "' with param? " << (bParam ? 1 : 0) <<" param val: '" << (bParam ? nParam : 0) << "'");*/ +#if OSL_DEBUG_LEVEL > 1 + SAL_INFO("writerfilter.rtf", OSL_THIS_FUNC << ": keyword '\\" << rKeyword.getStr() << + "' with param? " << (bParam ? 1 : 0) <<" param val: '" << (bParam ? nParam : 0) << "'"); +#endif RTFSymbol aSymbol; aSymbol.sKeyword = rKeyword.getStr(); std::vector<RTFSymbol>::iterator low = std::lower_bound(m_aRTFControlWords.begin(), m_aRTFControlWords.end(), aSymbol); |