summaryrefslogtreecommitdiff
path: root/chart2/source/tools/NumberFormatterWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/NumberFormatterWrapper.cxx')
-rw-r--r--chart2/source/tools/NumberFormatterWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx
index 4994215d58ab..f543f27528b1 100644
--- a/chart2/source/tools/NumberFormatterWrapper.cxx
+++ b/chart2/source/tools/NumberFormatterWrapper.cxx
@@ -62,7 +62,7 @@ NumberFormatterWrapper::NumberFormatterWrapper( const uno::Reference< util::XNum
SvNumberFormatsSupplierObj* pSupplierObj = SvNumberFormatsSupplierObj::getImplementation( xSupplier );
if( pSupplierObj )
m_pNumberFormatter = pSupplierObj->GetNumberFormatter();
- OSL_POSTCOND(m_pNumberFormatter,"need a numberformatter");
+ SAL_WARN_IF(!m_pNumberFormatter,"chart2.tools","need a numberformatter");
}
NumberFormatterWrapper::~NumberFormatterWrapper()