basegfx/source/inc/hommatrixtemplate.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 06895bd2c785d79dd00261ded31def10b5a7157e Author: Stephan Bergmann <[email protected]> Date: Wed Mar 30 13:15:55 2016 +0200 loplugin:nullptr Change-Id: I7f6d030317fc7910e69c742b3160b0156e9f9200 diff --git a/basegfx/source/inc/hommatrixtemplate.hxx b/basegfx/source/inc/hommatrixtemplate.hxx index ec527d7..77e2130 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<ImplHomMatrixTemplate< RowSize >*>(this)->mpLine; - const_cast<ImplHomMatrixTemplate< RowSize >*>(this)->mpLine = 0L; + const_cast<ImplHomMatrixTemplate< RowSize >*>(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); } } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
