summaryrefslogtreecommitdiff
path: root/svx/source/xml/xmlgrhlp.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/xml/xmlgrhlp.cxx
parent28f4bee7bd7378141d8569186162e1a3166eb012 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/xml/xmlgrhlp.cxx')
-rw-r--r--svx/source/xml/xmlgrhlp.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 3964f445c615..da12446b6bb3 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -62,7 +62,7 @@ namespace {
const MetaCommentAction* ImplCheckForEPS( GDIMetaFile& rMtf )
{
- const MetaCommentAction* pComment = NULL;
+ const MetaCommentAction* pComment = nullptr;
if ( rMtf.GetActionSize() >= 2
&& rMtf.GetAction(0)->GetType() == MetaActionType::EPS
@@ -336,8 +336,8 @@ const GraphicObject& SvXMLGraphicOutputStream::GetGraphicObject()
maGrfObj = aGraphic;
if( maGrfObj.GetType() != GRAPHIC_NONE )
{
- delete mpOStm, mpOStm = NULL;
- delete mpTmp, mpTmp = NULL;
+ delete mpOStm, mpOStm = nullptr;
+ delete mpTmp, mpTmp = nullptr;
}
}
@@ -350,7 +350,7 @@ SvXMLGraphicHelper::SvXMLGraphicHelper( SvXMLGraphicHelperMode eCreateMode ) :
::cppu::WeakComponentImplHelper2< css::document::XGraphicObjectResolver,
css::document::XBinaryStreamResolver >( maMutex )
{
- Init( NULL, eCreateMode, false );
+ Init( nullptr, eCreateMode, false );
}
SvXMLGraphicHelper::SvXMLGraphicHelper()
@@ -764,7 +764,7 @@ SvXMLGraphicHelper* SvXMLGraphicHelper::Create( SvXMLGraphicHelperMode eCreateMo
SvXMLGraphicHelper* pThis = new SvXMLGraphicHelper;
pThis->acquire();
- pThis->Init( NULL, eCreateMode, false );
+ pThis->Init( nullptr, eCreateMode, false );
return pThis;
}