summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-09 19:41:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-10 11:34:25 +0200
commit4b3430f27a01a256e268aa19d51f7c2e1a61534c (patch)
tree5b9c58b9c9ab6503a132bc6b1e3f64e5bd190fff /sal
parent926e4e469d0285ee72f8da80f00370b4b3120417 (diff)
loplugin:simplifyconstruct in reportdesign..sax
Change-Id: I7d2a754cdc5576b5a5b35db2fbffd19ea17c16ff Reviewed-on: https://gerrit.libreoffice.org/60224 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/rtl/ref/rtl_ref.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/rtl/ref/rtl_ref.cxx b/sal/qa/rtl/ref/rtl_ref.cxx
index e3987d9bb267..a2c22d2e8da5 100644
--- a/sal/qa/rtl/ref/rtl_ref.cxx
+++ b/sal/qa/rtl/ref/rtl_ref.cxx
@@ -84,7 +84,7 @@ class TestReferenceRefCounting : public CppUnit::TestFixture
static_cast<long>(2), test2->use_count());
// use count should decrement
- test2 = rtl::Reference< MoveTestClass >(nullptr);
+ test2 = rtl::Reference< MoveTestClass >();
CPPUNIT_ASSERT_EQUAL_MESSAGE("test1.use_count() == 1",
static_cast<long>(1), test1->use_count());