diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-30 13:15:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-30 13:15:55 +0200 |
commit | 06895bd2c785d79dd00261ded31def10b5a7157e (patch) | |
tree | c93be954dfa5e1f0190a1380fcf9504b4e824f55 /basegfx | |
parent | 9feacaf1d884a6eea7e83dcefef4ee2af5c6f2e0 (diff) |
loplugin:nullptr
Change-Id: I7f6d030317fc7910e69c742b3160b0156e9f9200
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/inc/hommatrixtemplate.hxx | 8 |
1 files 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<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); } } |