summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-17 20:13:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-17 20:13:18 +0100
commitd47847116f30038cb7b3c8f6650e3c9892380fbf (patch)
tree2f5e3f2a8920817c8bcb633f2937d82208d8b50c /xmloff
parent5694b4970e3af096130e172ac6968b10ed587a6f (diff)
Blind fix for MSVC
"warning C4510: 'XMLEmbeddedObjectImportContext::{ctor}::<unnamed-tag>' : default constructor could not be generated" Change-Id: I3c81bf4c0fd20795e20f5c0f2e790bf4118c0e2d
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/XMLEmbeddedObjectImportContext.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx
index c9fc928ea58a..a55e328fea21 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) },