From 12191a4f30078bb81c39a74a994ba7b2b410adaf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 9 May 2017 12:14:32 +0200 Subject: make loplugin constantparam smarter about string params Change-Id: Id3df69b38fd35f46735246a6d307a89aa10d4294 Reviewed-on: https://gerrit.libreoffice.org/37426 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/sbx/sbxbase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic/source/sbx/sbxbase.cxx') diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx index 060b09101152..b165f3a8371d 100644 --- a/basic/source/sbx/sbxbase.cxx +++ b/basic/source/sbx/sbxbase.cxx @@ -157,7 +157,7 @@ SbxBase* SbxBase::Create( sal_uInt16 nSbxId, sal_uInt32 nCreator ) case SBXID_OBJECT: return new SbxObject( "" ); case SBXID_COLLECTION: return new SbxCollection( "" ); case SBXID_FIXCOLLECTION: - return new SbxStdCollection( "", "" ); + return new SbxStdCollection; case SBXID_METHOD: return new SbxMethod( "", SbxEMPTY ); case SBXID_PROPERTY: return new SbxProperty( "", SbxEMPTY ); } -- cgit