diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:16 +0200 |
commit | f79c466405843fc5ee01b2129c97965bcdd6b3b8 (patch) | |
tree | b00c9250032bc42ccb2d0974bf3498969d4eef9e /xmlscript | |
parent | 8a18515f7bb1eb6e7d356a1737ac1a339b5ceeab (diff) |
Improved loplugin:redundantcast, static_cast on arithmetic types: xmlscript
Change-Id: I511174aa27bd486e6c046761e481c494c58a67bc
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx index ec7398e38d2f..756424a96c5e 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx @@ -591,7 +591,7 @@ void ElementDescriptor::readDateAttr( OUString const & rPropName, OUString const if (a >>= aUDate) { ::Date aTDate(aUDate); - addAttribute( rAttrName, OUString::number( static_cast<sal_Int32>(aTDate.GetDate()) ) ); + addAttribute( rAttrName, OUString::number( aTDate.GetDate() ) ); } else OSL_FAIL( "### internal error" ); |