summaryrefslogtreecommitdiffstats
path: root/writerfilter
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-09 15:13:07 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-09 15:16:09 +0100
commit2075a648aced631422eede159d35e2e7804334ca (patch)
treedde826eba221c4264ec3132f98b3e49a04698fd6 /writerfilter
parentcallcatcher: remove unused code post automation removal (diff)
downloadcore-2075a648aced631422eede159d35e2e7804334ca.tar.gz
core-2075a648aced631422eede159d35e2e7804334ca.zip
Removed useless code due to the move to SAL_INFO
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/filter/RtfFilter.cxx6
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx10
2 files changed, 1 insertions, 15 deletions
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index 80fba44e5c04..b2316fbd621d 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -101,11 +101,7 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
}
catch (const uno::Exception& e)
{
-#if OSL_DEBUG_LEVEL > 1
- SAL_INFO("writerfilter", "Exception caught: " <<
- rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
-#endif
- (void)e;
+ SAL_INFO("writerfilter", "Exception caught: " << e.Message());
return sal_False;
}
}
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 06f0580c3398..a60a77b36b5b 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1226,9 +1226,7 @@ int RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
m_aStates.top().nDestinationState = DESTINATION_SKIP;
break;
default:
-#if OSL_DEBUG_LEVEL > 1
SAL_INFO("writerfilter", OSL_THIS_FUNC << ": TODO handle destination '" << lcl_RtfToString(nKeyword) << "'");
-#endif
// Make sure we skip destinations (even without \*) till we don't handle them
m_aStates.top().nDestinationState = DESTINATION_SKIP;
aSkip.setParsed(false);
@@ -1411,9 +1409,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
// Nothing to do, dmapper assumes this is the default.
break;
default:
-#if OSL_DEBUG_LEVEL > 1
SAL_INFO("writerfilter", OSL_THIS_FUNC << ": TODO handle symbol '" << lcl_RtfToString(nKeyword) << "'");
-#endif
aSkip.setParsed(false);
break;
}
@@ -1869,9 +1865,7 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
case RTF_POSXL: m_aStates.top().aFrame.nHoriAlign = NS_ooxml::LN_Value_wordprocessingml_ST_XAlign_left; break;
case RTF_POSXR: m_aStates.top().aFrame.nHoriAlign = NS_ooxml::LN_Value_wordprocessingml_ST_XAlign_right; break;
default:
-#if OSL_DEBUG_LEVEL > 1
SAL_INFO("writerfilter", OSL_THIS_FUNC << ": TODO handle flag '" << lcl_RtfToString(nKeyword) << "'");
-#endif
aSkip.setParsed(false);
break;
}
@@ -2514,9 +2508,7 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
m_aStates.top().aPicture.eWMetafile = nParam;
break;
default:
-#if OSL_DEBUG_LEVEL > 1
SAL_INFO("writerfilter", OSL_THIS_FUNC << ": TODO handle value '" << lcl_RtfToString(nKeyword) << "'");
-#endif
aSkip.setParsed(false);
break;
}
@@ -2613,9 +2605,7 @@ int RTFDocumentImpl::dispatchToggle(RTFKeyword nKeyword, bool bParam, int nParam
}
break;
default:
-#if OSL_DEBUG_LEVEL > 1
SAL_INFO("writerfilter", OSL_THIS_FUNC << ": TODO handle toggle '" << lcl_RtfToString(nKeyword) << "'");
-#endif
aSkip.setParsed(false);
break;
}