From 8d924919e021f7f24c06296529a71f8d8ee218fd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 9 Oct 2013 12:27:44 +0200 Subject: Fix for C++03, and const-improve Change-Id: I9d7c9bf832863c4b4776c7881ab7e44ab5df9607 --- sw/source/filter/ww8/docxattributeoutput.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/filter') diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 2f2a2c91e9e5..369d167b7a0b 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -2368,7 +2368,7 @@ struct StringTokenMap sal_Int32 nToken; }; -StringTokenMap aDefaultTokens[] { +StringTokenMap const aDefaultTokens[] = { {"defQFormat", XML_defQFormat}, {"defUnhideWhenUsed", XML_defUnhideWhenUsed}, {"defSemiHidden", XML_defSemiHidden}, @@ -2378,7 +2378,7 @@ StringTokenMap aDefaultTokens[] { {0, 0} }; -StringTokenMap aExceptionTokens[] { +StringTokenMap const aExceptionTokens[] = { {"name", XML_name}, {"locked", XML_locked}, {"uiPriority", XML_uiPriority}, @@ -2388,7 +2388,7 @@ StringTokenMap aExceptionTokens[] { {0, 0} }; -sal_Int32 lcl_getToken(StringTokenMap* pMap, OUString aName) +sal_Int32 lcl_getToken(StringTokenMap const * pMap, OUString aName) { OString sName = OUStringToOString(aName, RTL_TEXTENCODING_UTF8); while (pMap->pToken) -- cgit