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>
This commit is contained in:
Stephan Bergmann
2020-06-04 07:37:31 +02:00
parent 935928002b
commit 7b905c8f1d
+1 -3
View File
@@ -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) );