summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshap2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 11:40:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 08:03:03 +0200
commit1a6397030381a45f27ab7a2a02e6e6d0f9987c84 (patch)
tree6e342854037b3b845215af09f36407495550254d /svx/source/unodraw/unoshap2.cxx
parent781544497a0913037bba160a4cf6b643e5ca1d1a (diff)
loplugin:constfields in svx
Change-Id: I643e8686e015ca85dd96221f1c93038f4fddf27b Reviewed-on: https://gerrit.libreoffice.org/61182 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-rw-r--r--svx/source/unodraw/unoshap2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index c13b75661df2..959b8be84887 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -592,10 +592,10 @@ void SAL_CALL SvxShapeControl::setControl( const Reference< awt::XControlModel >
static struct
{
const sal_Char* mpAPIName;
- sal_uInt16 mnAPINameLen;
+ sal_uInt16 const mnAPINameLen;
const sal_Char* mpFormName;
- sal_uInt16 mnFormNameLen;
+ sal_uInt16 const mnFormNameLen;
}
const SvxShapeControlPropertyMapping[] =
{
@@ -652,8 +652,8 @@ namespace
struct EnumConversionMap
{
- style::ParagraphAdjust nAPIValue;
- sal_Int16 nFormValue;
+ style::ParagraphAdjust const nAPIValue;
+ sal_Int16 const nFormValue;
};
EnumConversionMap const aMapAdjustToAlign[] =