[Libreoffice-commits] core.git: svx/source
Takeshi Abe
tabe at fixedpoint.jp
Thu Apr 26 09:42:39 UTC 2018
svx/source/unodraw/unoshap2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d69a043b5470212fa9d1ef5c17015c7a84d054fb
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Tue Apr 24 21:24:24 2018 +0900
svx: These arrays are constant
Change-Id: Icda32ea104888afa3e4e1064e25dad6825b83b99
Reviewed-on: https://gerrit.libreoffice.org/53383
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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_
More information about the Libreoffice-commits
mailing list