summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:14:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:23 +0100
commit90122cfb7e684ba7f0683f4173028406ee57b7cb (patch)
treee35f3a1e12c512006ebf4fd73d6f9ef519f3d6ea /drawinglayer/source/primitive2d/metafileprimitive2d.cxx
parent72c48b716640c76f0a8fa49341ce3b0099004991 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I3aa15efd12b8c9b20319a1975dbbd541783aea2d
Diffstat (limited to 'drawinglayer/source/primitive2d/metafileprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/metafileprimitive2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
index 7b8de5c950d0..4a641d60891c 100644
--- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
@@ -1273,7 +1273,7 @@ namespace
TargetHolder& rTarget,
PropertyHolder& rProperty)
{
- drawinglayer::primitive2d::BasePrimitive2D* pResult = 0;
+ drawinglayer::primitive2d::BasePrimitive2D* pResult = nullptr;
const vcl::Font& rFont = rProperty.getFont();
basegfx::B2DVector aAlignmentOffset(0.0, 0.0);
@@ -3100,7 +3100,7 @@ namespace
// pure recorded paint of the gradients uses the XOR paint functionality
// ('trick'). This is (and will be) broblematic with AntAliasing, so it's
// better to use this info
- const MetaGradientExAction* pMetaGradientExAction = 0;
+ const MetaGradientExAction* pMetaGradientExAction = nullptr;
bool bDone(false);
sal_uInt32 b(nAction + 1);