Kaydet (Commit) 361dd257 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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/47751Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 710cf469
......@@ -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;\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment