summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdattr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:50 +0100
commit6cd7bf2043146a630925a2e49336f02c802f707a (patch)
tree786cecd8ab993e25cda497d45b68007050c30d61 /svx/source/svdraw/svdattr.cxx
parent28f4bee7bd7378141d8569186162e1a3166eb012 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/svdraw/svdattr.cxx')
-rw-r--r--svx/source/svdraw/svdattr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index 80813a275a4b..49a50b550a8e 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -368,12 +368,12 @@ SdrItemPool::~SdrItemPool()
{
SetRefCount(*mppLocalPoolDefaults[i],0);
delete mppLocalPoolDefaults[i];
- mppLocalPoolDefaults[i] = 0L;
+ mppLocalPoolDefaults[i] = nullptr;
}
}
// split pools before destroying
- SetSecondaryPool(NULL);
+ SetSecondaryPool(nullptr);
}
bool SdrItemPool::GetPresentation(
@@ -871,7 +871,7 @@ bool SdrAngleItem::GetPresentation(
sal_Unicode aUnicodeNull('0');
sal_Int32 nCount(2);
- const IntlWrapper* pMyIntlWrapper = NULL;
+ const IntlWrapper* pMyIntlWrapper = nullptr;
if(!pIntlWrapper)
pIntlWrapper = pMyIntlWrapper = new IntlWrapper(
Application::GetSettings().GetLanguageTag() );
@@ -908,7 +908,7 @@ bool SdrAngleItem::GetPresentation(
if ( pMyIntlWrapper )
{
delete pMyIntlWrapper;
- pIntlWrapper = NULL;
+ pIntlWrapper = nullptr;
}
}