summaryrefslogtreecommitdiff
path: root/basic/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-04 13:44:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-05 09:28:12 +0200
commitc2139cafe6240991f88b85c1df12613d0ae0e821 (patch)
treec37c94d0f1ece0d21d87dc780abd4c1d88004f35 /basic/qa
parent51dca926f5968e9227391f7c47d25b9442178eaa (diff)
loplugin:simplifyconstruct in accessibility..bridges
Change-Id: I08f6a64b50f03d1b08027a2ac9e51442255d64bc Reviewed-on: https://gerrit.libreoffice.org/59976 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/qa')
-rw-r--r--basic/qa/cppunit/basictest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/qa/cppunit/basictest.cxx b/basic/qa/cppunit/basictest.cxx
index 9622a2867242..21e82ad0d326 100644
--- a/basic/qa/cppunit/basictest.cxx
+++ b/basic/qa/cppunit/basictest.cxx
@@ -74,7 +74,7 @@ void MacroSnippet::LoadSourceFromFile( const OUString& sMacroFileURL )
SbxVariableRef MacroSnippet::Run( const css::uno::Sequence< css::uno::Any >& rArgs )
{
- SbxVariableRef pReturn = nullptr;
+ SbxVariableRef pReturn;
if ( !Compile() )
return pReturn;
SbMethod* pMeth = mpMod.is() ? static_cast<SbMethod*>(mpMod->Find( "doUnitTest", SbxClassType::Method )) : nullptr;