From 06895bd2c785d79dd00261ded31def10b5a7157e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 30 Mar 2016 13:15:55 +0200 Subject: loplugin:nullptr Change-Id: I7f6d030317fc7910e69c742b3160b0156e9f9200 --- basegfx/source/inc/hommatrixtemplate.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/basegfx/source/inc/hommatrixtemplate.hxx b/basegfx/source/inc/hommatrixtemplate.hxx index ec527d7d8561..77e2130e7359 100644 --- a/basegfx/source/inc/hommatrixtemplate.hxx +++ b/basegfx/source/inc/hommatrixtemplate.hxx @@ -101,13 +101,13 @@ namespace basegfx // reset last line, it equals default delete const_cast*>(this)->mpLine; - const_cast*>(this)->mpLine = 0L; + const_cast*>(this)->mpLine = nullptr; return true; } ImplHomMatrixTemplate() - : mpLine(0L) + : mpLine(nullptr) { // complete initialization with identity matrix, all lines // were initialized with a trailing 1 followed by 0's. @@ -119,7 +119,7 @@ namespace basegfx } ImplHomMatrixTemplate(const ImplHomMatrixTemplate& rToBeCopied) - : mpLine(0L) + : mpLine(nullptr) { // complete initialization using copy for(sal_uInt16 a(0); a < (RowSize - 1); a++) @@ -174,7 +174,7 @@ namespace basegfx if(!::basegfx::fTools::equal(fDefault, rValue)) { - mpLine = new ImplMatLine< RowSize >((RowSize - 1), 0L); + mpLine = new ImplMatLine< RowSize >((RowSize - 1), nullptr); mpLine->set(nColumn, rValue); } } -- cgit v1.2.3