diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 15:53:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 18:37:27 +0200 |
commit | 102a94c9de3c8c4d1326022dd14a300d6b72e222 (patch) | |
tree | 15801e979dadd1ae274ed196854925d44b33cbb6 /sw/source/uibase/uno | |
parent | 80d8fda9c092ea77869c7c162d0acac854a0738d (diff) |
loplugin:constvars in sw
Change-Id: Ic1f11240561ba8fffc51710c9a49933c3ab3849d
Reviewed-on: https://gerrit.libreoffice.org/77826
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uno')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 19d88c7e018b..3299a6f043e9 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3306,7 +3306,7 @@ OUString SwXTextDocument::getTrackedChanges() SwRects* pRects(&aCursor); std::vector<OString> aRects; - for (SwRect& rNextRect : *pRects) + for (const SwRect& rNextRect : *pRects) aRects.push_back(rNextRect.SVRect().toString()); const OString sRects = comphelper::string::join("; ", aRects); |