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

Maxim Monastirsky momonasmon at gmail.com
Mon Jul 28 05:10:53 PDT 2014


 framework/source/services/autorecovery.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8a406391b1af4bd4ae1b73806b80e11a58340351
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Mon Jul 28 15:00:40 2014 +0300

    Recovery files can have an extension
    
    Looks like unintentional change made in
    c4a593b6b1732def0a21f455c0ca50f82a9bc40d
    
    Change-Id: If314a3f290c79909e3a807f9c9c95791c26067e9

diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 76d76d4..2c3f26b 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -1984,7 +1984,7 @@ void AutoRecovery::implts_specifyDefaultFilterAndExtension(AutoRecovery::TDocume
         css::uno::Sequence< OUString > lExtensions         = lTypeProps.getUnpackedValueOrDefault(OUString(TYPE_PROP_EXTENSIONS), css::uno::Sequence< OUString >());
         if (lExtensions.getLength())
         {
-            rInfo.Extension  = lExtensions[0];
+            rInfo.Extension = "." + lExtensions[0];
         }
         else
             rInfo.Extension = ".unknown";


More information about the Libreoffice-commits mailing list