summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-15 20:11:10 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-15 20:18:45 +0100
commit159e78791ba40d76ba0d8af6abbd7d629eb6dd85 (patch)
tree2718f89b5d97adb420a363c79294d0017874be74 /sw/source
parent30d7f5100f5ff2bbb511f322784d94ab1f9a5748 (diff)
sw: fix MSVC build, stupid thing can't initialize const members
Change-Id: I546b96a5628d2ad186b5b626cce28f67841db157
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index 43a57ab69617..d2c05c44953d 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -476,11 +476,11 @@ static uno::Reference<io::XInputStream> lcl_StoreOwnAsOOXML(
sal_uInt32 n1;
sal_uInt16 n2, n3;
sal_uInt8 b8, b9, b10, b11, b12, b13, b14, b15;
- } const ClassId;
- char const*const pFilterName;
- char const*const pMediaType;
- char const*const pProgID;
- char const*const pSuffix;
+ } ClassId;
+ char const* pFilterName;
+ char const* pMediaType;
+ char const* pProgID;
+ char const* pSuffix;
} s_Mapping[] = {
{ {SO3_SW_CLASSID_60}, "MS Word 2007 XML", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "Word.Document.12", "docx" },
{ {SO3_SC_CLASSID_60}, "Calc MS Excel 2007 XML", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "Excel.Sheet.12", "xlsx" },