From f6ec07a3963a401dc736baa9bdd2ed3c7325bb66 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jun 2015 16:29:41 +0200 Subject: loplugin:cstylecast: deal with remaining pointer casts Change-Id: I07bf1403e6b992807541a499b786d47f835b2f81 --- vcl/qa/cppunit/complextext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/qa') diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx index e200ad2903ec..ae778fee40d5 100644 --- a/vcl/qa/cppunit/complextext.cxx +++ b/vcl/qa/cppunit/complextext.cxx @@ -43,7 +43,7 @@ void VclComplexTextTest::testArabic() OUString aOneTwoThree( reinterpret_cast(pOneTwoThreeUTF8), SAL_N_ELEMENTS( pOneTwoThreeUTF8 ) - 1, RTL_TEXTENCODING_UTF8 ); - VclPtr pWin = VclPtr::Create( (vcl::Window *)nullptr ); + VclPtr pWin = VclPtr::Create( static_cast(nullptr) ); CPPUNIT_ASSERT( pWin ); OutputDevice *pOutDev = static_cast< OutputDevice * >( pWin.get() ); -- cgit