From cb4177b5f6d2c63548fa544a19b36001c57193e4 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Tue, 17 Nov 2015 15:47:25 +0100 Subject: Remove unused toolbaritem properties The following properties have been removed: toolbar:bitmap toolbar:property toolbar:width toolbar:userdefined This should have no impact on existing functionality or AddOns, since these properties were not in use. Change-Id: I07574f8102648ee0713379be8cb0b605d2c76364 --- vcl/source/helper/commandinfoprovider.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/source/helper') diff --git a/vcl/source/helper/commandinfoprovider.cxx b/vcl/source/helper/commandinfoprovider.cxx index b04cff3827ae..5ef6f099bd5b 100644 --- a/vcl/source/helper/commandinfoprovider.cxx +++ b/vcl/source/helper/commandinfoprovider.cxx @@ -250,17 +250,17 @@ sal_Int32 CommandInfoProvider::GetPropertiesForCommand ( { SetFrame(rxFrame); + sal_Int32 nValue = 0; const Sequence aProperties (GetCommandProperties(rsCommandName)); for (sal_Int32 nIndex=0; nIndex>= nValue; - return nValue; + break; } } - return 0; + return nValue; } void CommandInfoProvider::SetFrame (const Reference& rxFrame) -- cgit