diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-07-29 17:40:31 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-07-29 17:40:31 +0200 |
commit | 7e9b696dcd3e1c728e5f3d5e9c3ead741301397d (patch) | |
tree | 9539c5f5625144761b3388660ff82c2ac298d9f4 | |
parent | 4eb483eaa36a9e04bcffc6ec325c713900384d21 (diff) |
no need to call lcl_RtfToString in product build
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 2c54e1df9..cdefe9eaf 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -1137,7 +1137,9 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword) m_aStates.top().nDestinationState = DESTINATION_SKIP; break; default: +#if OSL_DEBUG_LEVEL > 1 OSL_TRACE("%s: TODO handle destination '%s'", OSL_THIS_FUNC, lcl_RtfToString(nKeyword)); +#endif // Make sure we skip destinations (even without \*) till we don't handle them m_aStates.top().nDestinationState = DESTINATION_SKIP; bParsed = false; @@ -1307,7 +1309,9 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword) // Nothing to do, dmapper assumes this is the default. break; default: +#if OSL_DEBUG_LEVEL > 1 OSL_TRACE("%s: TODO handle symbol '%s'", OSL_THIS_FUNC, lcl_RtfToString(nKeyword)); +#endif bParsed = false; break; } @@ -1650,7 +1654,9 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword) } break; default: +#if OSL_DEBUG_LEVEL > 1 OSL_TRACE("%s: TODO handle flag '%s'", OSL_THIS_FUNC, lcl_RtfToString(nKeyword)); +#endif bParsed = false; break; } @@ -2209,7 +2215,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) // Ignore this for now, later the RTF writer version could be used to add hacks for older buggy writers. break; default: +#if OSL_DEBUG_LEVEL > 1 OSL_TRACE("%s: TODO handle value '%s'", OSL_THIS_FUNC, lcl_RtfToString(nKeyword)); +#endif bParsed = false; break; } @@ -2309,7 +2317,9 @@ int RTFDocumentImpl::dispatchToggle(RTFKeyword nKeyword, bool bParam, int nParam } break; default: +#if OSL_DEBUG_LEVEL > 1 OSL_TRACE("%s: TODO handle toggle '%s'", OSL_THIS_FUNC, lcl_RtfToString(nKeyword)); +#endif bParsed = false; break; } |