summaryrefslogtreecommitdiff
path: root/sc/source/ui/namedlg/namedefdlg.cxx
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/source/ui/namedlg/namedefdlg.cxx
parent60c40af090e420a8619b5236bde1ff4ef79100c6 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
Diffstat (limited to 'sc/source/ui/namedlg/namedefdlg.cxx')
-rw-r--r--sc/source/ui/namedlg/namedefdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/namedlg/namedefdlg.cxx b/sc/source/ui/namedlg/namedefdlg.cxx
index fee5baaba4ba..7c813258f283 100644
--- a/sc/source/ui/namedlg/namedefdlg.cxx
+++ b/sc/source/ui/namedlg/namedefdlg.cxx
@@ -148,7 +148,7 @@ bool ScNameDefDlg::IsNameValid()
OUString aScope = m_pLbScope->GetSelectEntry();
OUString aName = m_pEdName->GetText();
- ScRangeName* pRangeName = NULL;
+ ScRangeName* pRangeName = nullptr;
if(aScope == maGlobalNameStr)
{
pRangeName = maRangeMap.find(OUString(STR_GLOBAL_RANGE_NAME))->second;
@@ -207,7 +207,7 @@ void ScNameDefDlg::AddPushed()
return;
}
- ScRangeName* pRangeName = NULL;
+ ScRangeName* pRangeName = nullptr;
if(aScope == maGlobalNameStr)
{
pRangeName = maRangeMap.find(OUString(STR_GLOBAL_RANGE_NAME))->second;
@@ -244,7 +244,7 @@ void ScNameDefDlg::AddPushed()
if ( 0 == pNewEntry->GetErrCode() )
{
if ( !pRangeName->insert( pNewEntry ) )
- pNewEntry = NULL;
+ pNewEntry = nullptr;
if (mbUndo)
{