unexpected css::container::ElementExistException in SwXFrame::attachToRange

Michael Stahl mstahl at redhat.com
Fri May 31 03:46:23 PDT 2013


On 31/05/13 10:07, Stephan Bergmann wrote:
> Loading test3.docx attached to 
> <https://bugs.freedesktop.org/show_bug.cgi?id=41466> "Missing notes and 
> moved components after importing .docx file" leads to an unexpected 
> css::container::ElementExistException in SwXFrame::attachToRange 
> (resulting in std::unexpected abort with --enable-dbgutil) in recent 
> master builds, where the exception is thrown as below.  Someone more 
> familiar with the sw code would need to decide how to address this.

this problem was introduced with

commit 1a3c90a292c7fc9060604151de9dc51eecf5b6a7
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Wed Feb 6 12:09:48 2013 +0100

    sw: let drawinglayer manage gradient styles of our textframes

    With this, the hacks from commits
    81a46fc86a530f028a5bd2f5e52fe0372d50ee38 and
    d7efffebd9651dd866349915360ade64b97d7301 are no longer necessary.


i hope i've fixed it with f5e8f5b0b5410d29b5cb1fb6fbbd8bf3c48a0201 but
don't have any real gradient bugdocs to check if it is the right fix.



More information about the LibreOffice mailing list