diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-17 15:12:03 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-18 06:58:23 +0000 |
commit | b23d20d6d2bf0ef4c9acf5f38d11e51cdceee271 (patch) | |
tree | c8e8dc2902ec716c943891d7fb42d7dfd263358a /vcl/source | |
parent | 5af68a26f13f6abc44c276ee47b85e3a8fa20e65 (diff) |
Make 'IsExperimental' property boolean
Change-Id: If88ea931ead8dd031fda9b17d9023a771ab0a0d0
Reviewed-on: https://gerrit.libreoffice.org/29970
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/helper/commandinfoprovider.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/helper/commandinfoprovider.cxx b/vcl/source/helper/commandinfoprovider.cxx index 881a008f0ea2..2b23821fc7f7 100644 --- a/vcl/source/helper/commandinfoprovider.cxx +++ b/vcl/source/helper/commandinfoprovider.cxx @@ -317,9 +317,8 @@ bool CommandInfoProvider::IsExperimental(const OUString& rsCommandName, { if (aProperties[nIndex].Name == "IsExperimental") { - sal_Int32 nValue; - return (aProperties[nIndex].Value >>= nValue) - && nValue == 1; + bool bValue; + return (aProperties[nIndex].Value >>= bValue) && bValue; } } } |