diff options
Diffstat (limited to 'unotools/source/i18n/localedatawrapper.cxx')
-rw-r--r-- | unotools/source/i18n/localedatawrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index c900de4452c5..3d3bee0d4892 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -488,9 +488,9 @@ void LocaleDataWrapper::getSecondaryCalendarImpl() } } -bool LocaleDataWrapper::doesSecondaryCalendarUseEC( const OUString& rName ) const +bool LocaleDataWrapper::doesSecondaryCalendarUseEC( std::u16string_view rName ) const { - if (rName.isEmpty()) + if (rName.empty()) return false; // Check language tag first to avoid loading all calendars of this locale. |