diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 09:10:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 10:36:53 +0100 |
commit | e9a201bacef56438111a2ad150325164ae71b573 (patch) | |
tree | c4327b2454d48c22bd836305a50732d359beea4d /sw/source/uibase | |
parent | 195e0524f9e4964fa5730ecd146f56760e8dcd68 (diff) |
partially revert "Use for range loop in sdrhhcwrap (sw)"
commit 01b64e5f5e3658810c7e66c6577705764ef7e288
managed to drop a fairly important assignment to a class field.
Change-Id: I3fc28fd8b6a47e2ed6a363f42876ce57c9f2e5c2
Reviewed-on: https://gerrit.libreoffice.org/46682
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/lingu/sdrhhcwrap.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/lingu/sdrhhcwrap.cxx b/sw/source/uibase/lingu/sdrhhcwrap.cxx index eab365ffaeb2..5bb3e164352b 100644 --- a/sw/source/uibase/lingu/sdrhhcwrap.cxx +++ b/sw/source/uibase/lingu/sdrhhcwrap.cxx @@ -127,6 +127,7 @@ bool SdrHHCWrapper::ConvertNextDocument() SwDrawContact::GetTextObjectsFromFormat( aTextObjs, pView->GetDocShell()->GetDoc() ); for (auto const& textObj : aTextObjs) { + pTextObj = textObj; if (textObj) { OutlinerParaObject* pParaObj = textObj->GetOutlinerParaObject(); |