diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-17 20:29:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-17 20:30:45 +0100 |
commit | 0b211d6ec65c96933031d948ab39a762322a89ad (patch) | |
tree | 86090fec0e4be010ad37458e51f11179eee01c9b | |
parent | 2c9972b8d40dce72cc6f56f1d44db838bd0ece10 (diff) |
More blind fix attempt for MSVC
Change-Id: Ic1c8fe2994d8094581b7c22a50edb6267122b8ea
-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) }, |