diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 10:46:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 17:31:52 +0100 |
commit | 361dd2576a09fbda83f3ce9a26ecb590c38f74e3 (patch) | |
tree | 01cb088351af1c7f23f060feed2cd7a560d96b21 /filter/source | |
parent | 710cf469bf0e43a021fc1a24a80745bc602368ef (diff) |
Replace some C-style casts in ugly macros with static_cast
...in preparation for a to-be-committed improved loplugin:cstylecast doing such
rewriting automatically, but giving up on these macros
Change-Id: I6d1400fc2326bafe850307fb840829619362e0fd
Reviewed-on: https://gerrit.libreoffice.org/47751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/t602/t602filter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index 38ca6230bb70..2ed3b960f413 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -916,10 +916,10 @@ bool T602ImportFilterDialog::OptionsDlg() { Any any; #define propInt_(_prop,_nam,_val) \ - any <<= (sal_Int32)_val;\ + any <<= static_cast<sal_Int32>(_val);\ _prop->setPropertyValue(_nam, any); #define propShort_(_prop,_nam,_val) \ - any <<= (sal_Int16)_val;\ + any <<= static_cast<sal_Int16>(_val);\ _prop->setPropertyValue(_nam, any); #define propBool_(_prop,_nam,_val) \ any <<= _val;\ |