summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/usercontrol.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:24:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:24:28 +0100
commit32bd0425cc53bab05f7ab03252b37ccd6abc7dda (patch)
tree2c92daf8afd33c605525a90e81fee60734cfc327 /extensions/source/propctrlr/usercontrol.cxx
parentc578d1c81274a1c0e5bdbdf5654bb4e186afdf49 (diff)
More loplugin:cstylecast: extensions
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: If5cd78704f10a98524a113c67cdc09529f745c74
Diffstat (limited to 'extensions/source/propctrlr/usercontrol.cxx')
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index 213d61c6efa1..82c2634a7670 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -155,7 +155,7 @@ namespace pcr
{
Any aPropValue;
if ( !getTypedControlWindow()->GetText().isEmpty() )
- aPropValue <<= (sal_Int32)getTypedControlWindow()->GetFormatKey();
+ aPropValue <<= static_cast<sal_Int32>(getTypedControlWindow()->GetFormatKey());
return aPropValue;
}