From 32bd0425cc53bab05f7ab03252b37ccd6abc7dda Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 12 Jan 2018 20:24:28 +0100 Subject: More loplugin:cstylecast: extensions auto-rewrite with "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: If5cd78704f10a98524a113c67cdc09529f745c74 --- extensions/source/propctrlr/usercontrol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source/propctrlr/usercontrol.cxx') 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(getTypedControlWindow()->GetFormatKey()); return aPropValue; } -- cgit