diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-25 18:20:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-26 08:56:47 +0200 |
commit | 979c8c56b7d52fe9a5d4b1fbfdab0adaba04c470 (patch) | |
tree | de5942b227fb6f441e1f36878a030a1b13601ba0 /oox/source/ole/olehelper.cxx | |
parent | osl: w32/pipe.cxx typo should have been caught, not cached (diff) | |
download | core-979c8c56b7d52fe9a5d4b1fbfdab0adaba04c470.tar.gz core-979c8c56b7d52fe9a5d4b1fbfdab0adaba04c470.zip |
loplugin:oncevar in oox..sax
Change-Id: I0fee8bcddaeea48335e3be05761d2ad2c45020e2
Reviewed-on: https://gerrit.libreoffice.org/39238
Tested-by: Jenkins <ci@libreoffice.org>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx index 285942923cc6..5c1fce46d5f9 100644 --- a/oox/source/ole/olehelper.cxx +++ b/oox/source/ole/olehelper.cxx @@ -172,7 +172,7 @@ classIdToGUIDCNamePairMap::classIdToGUIDCNamePairMap() { AX_GUID_SCROLLBAR, "ScrollBar"}, } }; - int length = SAL_N_ELEMENTS( initialCntrlData ); + int const length = SAL_N_ELEMENTS( initialCntrlData ); IdCntrlData* pData = initialCntrlData; for ( int index = 0; index < length; ++index, ++pData ) mnIdToGUIDCNamePairMap[ pData->nId ] = pData->aData; |