diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-17 15:28:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-18 08:04:47 +0200 |
commit | 1aafe4950c04024907076e1420ddfd02181eb278 (patch) | |
tree | 2d014582c2a5ddd5139808f20eb70fa2817f75fe /oox/source/ole/olehelper.cxx | |
parent | tdf#120231 Focus to document on sidebar tabbar deck tab click (diff) | |
download | core-1aafe4950c04024907076e1420ddfd02181eb278.tar.gz core-1aafe4950c04024907076e1420ddfd02181eb278.zip |
loplugin:staticvar in hwpfilter..sal
Change-Id: I8bf3509637cb295847e0dd667c1862269a192bbe
Reviewed-on: https://gerrit.libreoffice.org/61881
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/ole/olehelper.cxx')
-rw-r--r-- | oox/source/ole/olehelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx index 55d626279476..d2dd4899d2e6 100644 --- a/oox/source/ole/olehelper.cxx +++ b/oox/source/ole/olehelper.cxx @@ -114,7 +114,7 @@ public: classIdToGUIDCNamePairMap::classIdToGUIDCNamePairMap() { - IdCntrlData initialCntrlData[] = + static IdCntrlData const initialCntrlData[] = { // Command button MUST be at index 0 { FormComponentType::COMMANDBUTTON, @@ -174,7 +174,7 @@ classIdToGUIDCNamePairMap::classIdToGUIDCNamePairMap() } }; int const length = SAL_N_ELEMENTS( initialCntrlData ); - IdCntrlData* pData = initialCntrlData; + IdCntrlData const * pData = initialCntrlData; for ( int index = 0; index < length; ++index, ++pData ) mnIdToGUIDCNamePairMap[ pData->nId ] = pData->aData; }; |