diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-03 22:42:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-04 07:37:31 +0200 |
commit | 7b905c8f1d520ae1aaf4bd2fbb6a3325b404ea95 (patch) | |
tree | 1b93d04a1b52553024e24e8da860a9ba7d8d2fe7 /fpicker | |
parent | 935928002ba87f89400c10124d50ca046cdba0b4 (diff) |
Upcoming loplugin:elidestringvar: fpicker
Change-Id: I4591cbe91e58a7c1014f9862cca63180800a3f45
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95465
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.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 7b5bd1d63c85..d10c67dffaef 100644 --- a/fpicker/source/office/fileview.cxx +++ b/fpicker/source/office/fileview.cxx @@ -1709,15 +1709,13 @@ const SortingData_Impl& SvtFileView_Impl::FolderInserted( const OUString& rURL, pData->maType = SvFileInformationManager::GetFolderDescription( aVolInfo ); pData->maImage = SvFileInformationManager::GetFolderImageId( aVolInfo ); - OUString const aDateSep( ", " ); - // title, type, size, date pData->maDisplayName = ReplaceTabWithString(pData->GetTitle()); // set the date SvtSysLocale aSysLocale; const LocaleDataWrapper& rLocaleData = aSysLocale.GetLocaleData(); pData->maDisplayDate = rLocaleData.getDate( pData->maModDate ) - + aDateSep + + ", " + rLocaleData.getTime( pData->maModDate ); maContent.push_back( std::move(pData) ); |