diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-27 14:45:39 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-28 04:38:48 +0200 |
commit | ae5cb9b75984d9a63b392d8bfc5b3d224f00c741 (patch) | |
tree | ee7f5914b8c5bc6a152a61a32f8cc8d75542f017 /fpicker | |
parent | 3551d18404cb19cdaa8edb170a549f5c5405d0cb (diff) |
Simplify a bit
Change-Id: Iad2564853a2a0d74cd526b1574e421e121fd6986
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153644
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/fileview.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx index 9d8d0f347449..ebc3ee3b8b18 100644 --- a/fpicker/source/office/fileview.cxx +++ b/fpicker/source/office/fileview.cxx @@ -1499,8 +1499,6 @@ void SvtFileView_Impl::CreateDisplayText_Impl() { ::osl::MutexGuard aGuard( maMutex ); - static constexpr OUStringLiteral aDateSep( u", " ); - for (auto const& elem : maContent) { // title, type, size, date @@ -1514,7 +1512,7 @@ void SvtFileView_Impl::CreateDisplayText_Impl() SvtSysLocale aSysLocale; const LocaleDataWrapper& rLocaleData = aSysLocale.GetLocaleData(); elem->maDisplayDate = rLocaleData.getDate( elem->maModDate ) - + aDateSep + + ", " + rLocaleData.getTime( elem->maModDate, false ); } |