summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-11 17:36:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-11 17:36:02 +0100
commit83f69a1213f296e1f27748bae9b0baf9324fe517 (patch)
treef7179f8c071a41df4aec7a8ab5aa97ceffe503ca /unotools
parent6dc2d2573dbfcbe67e65476e8b25470f0a2312d0 (diff)
loplugin:redundantcast: unotools
(after a to-be-committed improved loplugin:cstylecast would have rewritten the C-style casts into static_casts) Change-Id: If48db3f54130f3f9a57e4fdc90cd5023a6047cc7
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx4
1 files changed, 2 insertions, 2 deletions
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<LocaleDataWrapper*>(this)->getDateOrdersImpl();
}
- return (DateOrder) nDateOrder;
+ return nDateOrder;
}
DateOrder LocaleDataWrapper::getLongDateOrder() const
@@ -902,7 +902,7 @@ DateOrder LocaleDataWrapper::getLongDateOrder() const
aGuard.changeReadToWrite();
const_cast<LocaleDataWrapper*>(this)->getDateOrdersImpl();
}
- return (DateOrder) nLongDateOrder;
+ return nLongDateOrder;
}
DateOrder LocaleDataWrapper::scanDateOrderImpl( const OUString& rCode ) const