diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-04 10:20:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-07 09:42:23 +0200 |
commit | 439004122498b34433e2394d1d9c55c7d3666ab5 (patch) | |
tree | cb89fadfe33778ba5f277feb2e9f51f1876fd76d /editeng | |
parent | related tdf#99602 writerfilter TODO: subscript - use ParaStyle fontsize (diff) | |
download | core-439004122498b34433e2394d1d9c55c7d3666ab5.tar.gz core-439004122498b34433e2394d1d9c55c7d3666ab5.zip |
enable -Wrange-loop-analysis on clang
Change-Id: I2095308943c94ad16c110d5fac47715398eb5d39
Reviewed-on: https://gerrit.libreoffice.org/80187
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/outliner/outlobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx index 396e948f6595..23206122b1df 100644 --- a/editeng/source/outliner/outlobj.cxx +++ b/editeng/source/outliner/outlobj.cxx @@ -233,8 +233,8 @@ void OutlinerParaObject::dumpAsXml(xmlTextWriterPtr pWriter) const xmlTextWriterStartElement(pWriter, BAD_CAST("OutlinerParaObject")); xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this); mpImpl->mpEditTextObject->dumpAsXml(pWriter); - for (Paragraph const & p : mpImpl->maParagraphDataVector) - p.dumpAsXml(pWriter); + for (ParagraphData const & p : mpImpl->maParagraphDataVector) + Paragraph(p).dumpAsXml(pWriter); xmlTextWriterEndElement(pWriter); } |