sw/source/filter/ww8/docxattributeoutput.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 8d924919e021f7f24c06296529a71f8d8ee218fd Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Oct 9 12:27:44 2013 +0200 Fix for C++03, and const-improve Change-Id: I9d7c9bf832863c4b4776c7881ab7e44ab5df9607 diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 2f2a2c9..369d167 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits