diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-09 12:27:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-09 12:27:44 +0200 |
commit | 8d924919e021f7f24c06296529a71f8d8ee218fd (patch) | |
tree | 5cc8608442748e9394a21ec2cb75cf059da357e3 /sw/source/filter | |
parent | 60535ebcb4b341b633b06ac1843e976630b9a5ba (diff) |
Fix for C++03, and const-improve
Change-Id: I9d7c9bf832863c4b4776c7881ab7e44ab5df9607
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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) |