From 20a9e101d909cb1953101e5962b74731e1265400 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Sep 2016 09:01:06 +0200 Subject: loplugin:constantparam clean up the plugin a little, and try to catch params which are default constructed, which doesn't seem to be working yet Change-Id: Ife45f18502a45cd26306424b7432c55fcbb0fd12 Reviewed-on: https://gerrit.libreoffice.org/28861 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- basic/source/sbx/sbxvar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic/source/sbx/sbxvar.cxx') diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx index 784e9d11aa36..908c88f4d2c4 100644 --- a/basic/source/sbx/sbxvar.cxx +++ b/basic/source/sbx/sbxvar.cxx @@ -116,7 +116,7 @@ void SbxEnsureParentVariable::SetParent(SbxObject* p) assert(GetParent() == xParent.get()); } -SbxVariable::SbxVariable( SbxDataType t, void* p ) : SbxValue( t, p ) +SbxVariable::SbxVariable( SbxDataType t ) : SbxValue( t, nullptr ) { pCst = nullptr; pParent = nullptr; -- cgit