diff options
-rw-r--r-- | xmloff/source/core/XMLEmbeddedObjectImportContext.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx index a55e328fea21..2c3da9811fa8 100644 --- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx +++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx @@ -183,7 +183,10 @@ XMLEmbeddedObjectImportContext::XMLEmbeddedObjectImportContext( if( !sClass.isEmpty() ) { struct Entry { - XMLTokenEnum eClass; OUStringLiteral sFilterService; }; + XMLTokenEnum eClass; + OUStringLiteral sFilterService; + Entry() = delete; // avoid MSVC warning C4510 + }; static Entry const aServiceMap[] = { { XML_TEXT, OUStringLiteral(XML_IMPORT_FILTER_WRITER) }, { XML_ONLINE_TEXT, OUStringLiteral(XML_IMPORT_FILTER_WRITER) }, |