diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2018-04-24 21:24:24 +0900 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-26 11:41:53 +0200 |
commit | d69a043b5470212fa9d1ef5c17015c7a84d054fb (patch) | |
tree | b2540e43963c41fa986043138912b4abf3af88b9 /svx | |
parent | b114d094b6163ade1fe213653bf12412daf6c9c1 (diff) |
svx: These arrays are constant
Change-Id: Icda32ea104888afa3e4e1064e25dad6825b83b99
Reviewed-on: https://gerrit.libreoffice.org/53383
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshap2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index 8b351899d54a..2c4c2999a1cf 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -595,7 +595,7 @@ static struct const sal_Char* mpFormName; sal_uInt16 mnFormNameLen; } -SvxShapeControlPropertyMapping[] = +const SvxShapeControlPropertyMapping[] = { // Warning: The first entry must be FontSlant because the any needs to be converted { RTL_CONSTASCII_STRINGPARAM(UNO_NAME_EDIT_CHAR_POSTURE), RTL_CONSTASCII_STRINGPARAM("FontSlant") }, // const sal_Int16 => css::awt::FontSlant @@ -654,7 +654,7 @@ namespace sal_Int16 nFormValue; }; - EnumConversionMap aMapAdjustToAlign[] = + EnumConversionMap const aMapAdjustToAlign[] = { // note that order matters: // lcl_convertTextAlignmentToParaAdjustment and lcl_convertParaAdjustmentToTextAlignment search this map from the _beginning_ |