From 9dab60931e65220049b7c39579a57aebf0f9de5e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 15 Jan 2018 09:00:57 +0100 Subject: More loplugin:cstylecast: xmloff Change-Id: I870bc9fd1c7361913b073411065ec723f6b080da --- xmloff/source/style/xmlnumfi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/style/xmlnumfi.cxx') diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 1eedc4000bd3..e3576285f3da 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -1709,9 +1709,9 @@ sal_Int32 SvXMLNumFormatContext::CreateAndInsert(SvNumberFormatter* pFormatter) // check for default date formats if ( nType == XML_TOK_STYLES_DATE_STYLE && bAutoOrder && !bDateNoDefault ) { - NfIndexTableOffset eFormat = (NfIndexTableOffset) SvXMLNumFmtDefaults::GetDefaultDateFormat( + NfIndexTableOffset eFormat = static_cast(SvXMLNumFmtDefaults::GetDefaultDateFormat( eDateDOW, eDateDay, eDateMonth, eDateYear, - eDateHours, eDateMins, eDateSecs, bFromSystem ); + eDateHours, eDateMins, eDateSecs, bFromSystem )); if ( eFormat < NF_INDEX_TABLE_LOCALE_DATA_DEFAULTS ) { // #109651# if a date format has the automatic-order attribute and -- cgit