summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/Tickmarks.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/axes/Tickmarks.cxx')
-rw-r--r--chart2/source/view/axes/Tickmarks.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/axes/Tickmarks.cxx b/chart2/source/view/axes/Tickmarks.cxx
index 6f12154c4473..f60dfce99019 100644
--- a/chart2/source/view/axes/Tickmarks.cxx
+++ b/chart2/source/view/axes/Tickmarks.cxx
@@ -34,7 +34,7 @@ TickInfo::TickInfo( const uno::Reference<chart2::XScaling>& xInverse )
, xInverseScaling( xInverse )
, aTickScreenPosition(0.0,0.0)
, bPaintIt( true )
-, xTextShape( NULL )
+, xTextShape( nullptr )
, nFactorForLimitedTextWidth(1)
{
}
@@ -71,7 +71,7 @@ TickInfo* PureTickIter::firstInfo()
m_aTickIter = m_rTickVector.begin();
if(m_aTickIter!=m_rTickVector.end())
return &*m_aTickIter;
- return 0;
+ return nullptr;
}
TickInfo* PureTickIter::nextInfo()
{
@@ -81,14 +81,14 @@ TickInfo* PureTickIter::nextInfo()
if(m_aTickIter!=m_rTickVector.end())
return &*m_aTickIter;
}
- return 0;
+ return nullptr;
}
TickFactory::TickFactory(
const ExplicitScaleData& rScale, const ExplicitIncrementData& rIncrement )
: m_rScale( rScale )
, m_rIncrement( rIncrement )
- , m_xInverseScaling(NULL)
+ , m_xInverseScaling(nullptr)
{
//@todo: make sure that the scale is valid for the scaling