From 6cd7bf2043146a630925a2e49336f02c802f707a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:25:28 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5 --- svx/source/svdraw/svdotxtr.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'svx/source/svdraw/svdotxtr.cxx') 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 -- cgit