comphelper/source/misc/backupfilehelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e23f54d4175840edb24a39d17ba08edd28c95091
Author: Tor Lillqvist <[email protected]>
Date:   Thu Oct 20 10:40:30 2016 +0300

    Fix odd compilation error with Clang 3.8.0
    
    Fix "default initialization of an object of const type 'const
    ExtensionInfoEntryVector' (aka 'const vector<(anonymous
    namespace)::ExtensionInfoEntry>') without a user-provided default
    constructor".
    
    Change-Id: I97013ed4660459a3f4c1b8b5b7cc302ba3ff914d

diff --git a/comphelper/source/misc/backupfilehelper.cxx 
b/comphelper/source/misc/backupfilehelper.cxx
index 3e534bd..9f11db4 100644
--- a/comphelper/source/misc/backupfilehelper.cxx
+++ b/comphelper/source/misc/backupfilehelper.cxx
@@ -1990,7 +1990,7 @@ namespace comphelper
         // but as we are now in SafeMode, use XML infos for this since the
         // extensions are not loaded from XExtensionManager
         ExtensionInfo aCurrentExtensionInfo;
-        const ExtensionInfoEntryVector aToBeEnabled;
+        const ExtensionInfoEntryVector aToBeEnabled = { };
         ExtensionInfoEntryVector aToBeDisabled;
 
         
aCurrentExtensionInfo.createUsingExtensionRegistryEntriesFromXML(maUserConfigWorkURL);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to