diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 15:55:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 16:57:05 +0200 |
commit | 7ae43f63aad28c2cabb7cde6ea308055133fbde8 (patch) | |
tree | 26b244b295d518419243b7b7dd99429c5b796309 /xmloff/source/draw/sdxmlexp.cxx | |
parent | 3e52f67c49b5cde7661d0cca2ea72ff10d55a12c (diff) |
loplugin:constvars in writerfilter..xmlscript
Change-Id: I5a318632bcc575ea7e476ec0fb74c905b252ecdd
Reviewed-on: https://gerrit.libreoffice.org/77829
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw/sdxmlexp.cxx')
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 9e75edacafaa..8f4e09d431a0 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -716,7 +716,7 @@ bool SdXMLExport::ImpPrepAutoLayoutInfo(const Reference<XDrawPage>& xPage, OUStr void SdXMLExport::ImpWriteAutoLayoutInfos() { - for(auto & pInfo : mvAutoLayoutInfoList) + for(const auto & pInfo : mvAutoLayoutInfoList) { if(pInfo) { @@ -1289,7 +1289,7 @@ ImpXMLEXPPageMasterInfo* SdXMLExport::ImpGetPageMasterInfoByName(const OUString& { if(!rName.isEmpty()) { - for(auto & pInfo : mvPageMasterInfoList) + for(const auto & pInfo : mvPageMasterInfoList) { if(pInfo) { |