[Libreoffice-commits] core.git: xmloff/source
Stephan Bergmann
sbergman at redhat.com
Sat Dec 17 19:14:34 UTC 2016
xmloff/source/core/XMLEmbeddedObjectImportContext.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit d47847116f30038cb7b3c8f6650e3c9892380fbf
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sat Dec 17 20:13:18 2016 +0100
Blind fix for MSVC
"warning C4510: 'XMLEmbeddedObjectImportContext::{ctor}::<unnamed-tag>' :
default constructor could not be generated"
Change-Id: I3c81bf4c0fd20795e20f5c0f2e790bf4118c0e2d
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index c9fc928..a55e328 100644
--- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
+++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
@@ -182,8 +182,9 @@ XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext(
if( !sClass.isEmpty() )
{
- static struct { XMLTokenEnum eClass; OUStringLiteral sFilterService;
- } const aServiceMap[] = {
+ struct Entry {
+ XMLTokenEnum eClass; OUStringLiteral sFilterService; };
+ static Entry const aServiceMap[] = {
{ XML_TEXT, OUStringLiteral(XML_IMPORT_FILTER_WRITER) },
{ XML_ONLINE_TEXT, OUStringLiteral(XML_IMPORT_FILTER_WRITER) },
{ XML_SPREADSHEET, OUStringLiteral(XML_IMPORT_FILTER_CALC) },
More information about the Libreoffice-commits
mailing list