From 83f69a1213f296e1f27748bae9b0baf9324fe517 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 11 Jan 2018 17:36:02 +0100 Subject: loplugin:redundantcast: unotools (after a to-be-committed improved loplugin:cstylecast would have rewritten the C-style casts into static_casts) Change-Id: If48db3f54130f3f9a57e4fdc90cd5023a6047cc7 --- unotools/source/i18n/localedatawrapper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unotools') diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index 411c650dc74f..12140033ab4a 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -891,7 +891,7 @@ DateOrder LocaleDataWrapper::getDateOrder() const aGuard.changeReadToWrite(); const_cast(this)->getDateOrdersImpl(); } - return (DateOrder) nDateOrder; + return nDateOrder; } DateOrder LocaleDataWrapper::getLongDateOrder() const @@ -902,7 +902,7 @@ DateOrder LocaleDataWrapper::getLongDateOrder() const aGuard.changeReadToWrite(); const_cast(this)->getDateOrdersImpl(); } - return (DateOrder) nLongDateOrder; + return nLongDateOrder; } DateOrder LocaleDataWrapper::scanDateOrderImpl( const OUString& rCode ) const -- cgit