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
This commit is contained in:
Tor Lillqvist 2016-10-20 10:40:30 +03:00
parent d76027bb78
commit e23f54d417

View File

@ -1990,7 +1990,7 @@ namespace comphelper
// but as we are now in SafeMode, use XML infos for this since the // but as we are now in SafeMode, use XML infos for this since the
// extensions are not loaded from XExtensionManager // extensions are not loaded from XExtensionManager
ExtensionInfo aCurrentExtensionInfo; ExtensionInfo aCurrentExtensionInfo;
const ExtensionInfoEntryVector aToBeEnabled; const ExtensionInfoEntryVector aToBeEnabled = { };
ExtensionInfoEntryVector aToBeDisabled; ExtensionInfoEntryVector aToBeDisabled;
aCurrentExtensionInfo.createUsingExtensionRegistryEntriesFromXML(maUserConfigWorkURL); aCurrentExtensionInfo.createUsingExtensionRegistryEntriesFromXML(maUserConfigWorkURL);