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/formcomponenthandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source/propctrlr/formcomponenthandler.cxx') diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index 89c44b73054b6..60bbffd76bb38 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -2678,7 +2678,7 @@ namespace pcr pItem = nullptr; if ( SfxItemState::SET == pResult->GetItemState( SID_ATTR_NUMBERFORMAT_VALUE, false, &pItem ) ) { - _out_rNewValue <<= (sal_Int32)( static_cast< const SfxUInt32Item* >( pItem )->GetValue() ); + _out_rNewValue <<= static_cast( static_cast< const SfxUInt32Item* >( pItem )->GetValue() ); bChanged = true; } } -- cgit