[Libreoffice-commits] core.git: fpicker/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 4 05:38:11 UTC 2020


 fpicker/source/office/fileview.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 7b905c8f1d520ae1aaf4bd2fbb6a3325b404ea95
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jun 3 22:42:59 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jun 4 07:37:31 2020 +0200

    Upcoming loplugin:elidestringvar: fpicker
    
    Change-Id: I4591cbe91e58a7c1014f9862cca63180800a3f45
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95465
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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) );


More information about the Libreoffice-commits mailing list