summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxtr.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/svdotxtr.cxx
parent28f4bee7bd7378141d8569186162e1a3166eb012 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5
Diffstat (limited to 'svx/source/svdraw/svdotxtr.cxx')
-rw-r--r--svx/source/svdraw/svdotxtr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdotxtr.cxx b/svx/source/svdraw/svdotxtr.cxx
index df967bb5ff4d..79dfcf938fe9 100644
--- a/svx/source/svdraw/svdotxtr.cxx
+++ b/svx/source/svdraw/svdotxtr.cxx
@@ -287,12 +287,12 @@ void SdrTextObj::NbcMirror(const Point& rRef1, const Point& rRef2)
SdrObject* SdrTextObj::ImpConvertContainedTextToSdrPathObjs(bool bToPoly) const
{
- SdrObject* pRetval = 0;
+ SdrObject* pRetval = nullptr;
if(!ImpCanConvTextToCurve())
{
// suppress HelpTexts from PresObj's
- return 0;
+ return nullptr;
}
// get primitives
@@ -343,7 +343,7 @@ SdrObject* SdrTextObj::ImpConvertContainedTextToSdrPathObjs(bool bToPoly) const
// create ItemSet with object attributes
SfxItemSet aAttributeSet(GetObjectItemSet());
- SdrPathObj* pPathObj = 0;
+ SdrPathObj* pPathObj = nullptr;
// always clear objectshadow; this is included in the extraction
aAttributeSet.Put(makeSdrShadowItem(false));
@@ -415,7 +415,7 @@ SdrObject* SdrTextObj::DoConvertToPolyObj(bool bBezier, bool bAddText) const
return ImpConvertContainedTextToSdrPathObjs(!bBezier);
}
- return 0;
+ return nullptr;
}
bool SdrTextObj::ImpCanConvTextToCurve() const