diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 709c43b94197..7403c6dd8330 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -235,6 +235,7 @@ static int lcl_AsHex(char ch) return ret; } +#if OSL_DEBUG_LEVEL > 1 static const char* lcl_RtfToString(RTFKeyword nKeyword) { for (int i = 0; i < nRTFControlWords; i++) @@ -244,6 +245,7 @@ static const char* lcl_RtfToString(RTFKeyword nKeyword) } return NULL; } +#endif RTFDocumentImpl::RTFDocumentImpl(uno::Reference const& xContext, uno::Reference const& xInputStream,