From 4b3430f27a01a256e268aa19d51f7c2e1a61534c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 9 Sep 2018 19:41:49 +0200 Subject: loplugin:simplifyconstruct in reportdesign..sax Change-Id: I7d2a754cdc5576b5a5b35db2fbffd19ea17c16ff Reviewed-on: https://gerrit.libreoffice.org/60224 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sal/qa/rtl/ref/rtl_ref.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/qa') 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(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(1), test1->use_count()); -- cgit