diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:09:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:09:29 +0100 |
commit | dec5264878903ee010e9a6296357750f6c69c844 (patch) | |
tree | e987833003c31730486c95e82b6cc97b960de1a2 /xmloff/source/meta | |
parent | ab279d30de4188baa4b33688aaed96072f3b4818 (diff) |
More loplugin:cstylecast: xmloff
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: Ic872cef7bb9982305528ec3ce12a1871f055b752
Diffstat (limited to 'xmloff/source/meta')
-rw-r--r-- | xmloff/source/meta/xmlmetae.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx index 2528d717d424..821b41960962 100644 --- a/xmloff/source/meta/xmlmetae.cxx +++ b/xmloff/source/meta/xmlmetae.cxx @@ -54,7 +54,7 @@ SvXMLMetaExport::GetISODateTimeString( const util::DateTime& rDateTime ) // return ISO date string "YYYY-MM-DDThh:mm:ss" OUStringBuffer sTmp; - sTmp.append( (sal_Int32) rDateTime.Year ); + sTmp.append( static_cast<sal_Int32>(rDateTime.Year) ); sTmp.append( '-' ); lcl_AddTwoDigits( sTmp, rDateTime.Month ); sTmp.append( '-' ); |