https://bugs.freedesktop.org/show_bug.cgi?id=67036

Oliver Specht <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |r

--- Comment #4 from Oliver Specht <[email protected]> ---
The TOC is not imported since the following commit:

commit d36940de4f88bc4f190dcddb79568ef0d08b8427
Author: Cédric Bosdonnat <[email protected]>
Date:   Tue Oct 12 10:15:39 2010 +0200

    WW8: Fixed the import of nested SET / FILLIN fields

    n#634478

This could be fixed with the following diff:

diff --git a/sw/source/filter/ww8/ww8par5.cxx
b/sw/source/filter/ww8/ww8par5.cxx
index 1f4d9e8..63fe016 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -1007,9 +1007,11 @@ long SwWW8ImplReader::Read_Field(WW8PLCFManResult* pRes)
     bool bOk = pF->GetPara(pRes->nCp2OrIdx, aF);

     OSL_ENSURE(bOk, "WW8: Bad Field!\n");
     if (aF.nId == 33) aF.bCodeNest=false; // do not recurse into nested page
fields
     bool bCodeNest = aF.bCodeNest;
-    if ( aF.nId == 6 ) bCodeNest = false; // We can handle them and loose the
inner data
+    if ( aF.nId == 6 || aF.nId == 13) 
+        bCodeNest = false; // We can handle them and loose the inner data

     maFieldStack.push_back(WW8FieldEntry(*pPaM->GetPoint(), aF.nId));

->Cédric: Could you please have a look?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to