[Libreoffice-commits] core.git: sw/source

Noel Grandin noel.grandin at collabora.co.uk
Mon Dec 18 09:41:17 UTC 2017


 sw/source/uibase/lingu/sdrhhcwrap.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit e9a201bacef56438111a2ad150325164ae71b573
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Dec 18 09:10:33 2017 +0200

    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 at yahoo.fr>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

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();


More information about the Libreoffice-commits mailing list