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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx
index 13b7ed18716b..52c6a5250a55 100644
--- a/chart2/source/tools/NumberFormatterWrapper.cxx
+++ b/chart2/source/tools/NumberFormatterWrapper.cxx
@@ -51,7 +51,7 @@ OUString FixedNumberFormatter::getFormattedString( double fValue, sal_Int32& rLa
NumberFormatterWrapper::NumberFormatterWrapper( const uno::Reference< util::XNumberFormatsSupplier >& xSupplier )
: m_xNumberFormatsSupplier(xSupplier)
- , m_pNumberFormatter(NULL)
+ , m_pNumberFormatter(nullptr)
{
uno::Reference<beans::XPropertySet> xProp(m_xNumberFormatsSupplier,uno::UNO_QUERY);
@@ -91,7 +91,7 @@ OUString NumberFormatterWrapper::getFormattedString( sal_Int32 nNumberFormatKey,
sal_Int32& rLabelColor, bool& rbColorChanged ) const
{
OUString aText;
- Color* pTextColor = NULL;
+ Color* pTextColor = nullptr;
if( !m_pNumberFormatter )
{
OSL_FAIL("Need a NumberFormatter");