summaryrefslogtreecommitdiff
path: root/sc/inc/chartpos.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:22:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:36 +0100
commitde29ac09535d814e4be7e1bf0f10beb9f0f847e3 (patch)
tree139f75d657cb825622e812254b8b7df4e509140b /sc/inc/chartpos.hxx
parent60c40af090e420a8619b5236bde1ff4ef79100c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/inc/chartpos.hxx')
-rw-r--r--sc/inc/chartpos.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/chartpos.hxx b/sc/inc/chartpos.hxx
index 33eba6a1b88d..75e2e14bcadc 100644
--- a/sc/inc/chartpos.hxx
+++ b/sc/inc/chartpos.hxx
@@ -65,7 +65,7 @@ public:
{
if ( nIndex < nCount )
return ppData[ nIndex ];
- return NULL;
+ return nullptr;
}
//! might be NULL indicating "no value"
@@ -73,19 +73,19 @@ public:
{
if ( IsValid( nChartCol, nChartRow ) )
return ppData[ GetIndex( nChartCol, nChartRow ) ];
- return NULL;
+ return nullptr;
}
const ScAddress* GetColHeaderPosition( SCCOL nChartCol ) const
{
if ( nChartCol < nColCount )
return ppColHeader[ nChartCol ];
- return NULL;
+ return nullptr;
}
const ScAddress* GetRowHeaderPosition( SCROW nChartRow ) const
{
if ( nChartRow < nRowCount )
return ppRowHeader[ nChartRow ];
- return NULL;
+ return nullptr;
}
};
@@ -141,7 +141,7 @@ public:
if ( pPositionMap )
{
delete pPositionMap;
- pPositionMap = NULL;
+ pPositionMap = nullptr;
}
}
const ScChartPositionMap* GetPositionMap();