https://bugs.documentfoundation.org/show_bug.cgi?id=108919

            Bug ID: 108919
           Summary: Assertion failed when inserting rectangle shape in
                    spreadsheet
           Product: LibreOffice
           Version: 6.0.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 105537

With a debug build, add a rectangle to the sheet.
As soon as you press left button on the sheet there is an assertion failed
error.

This is the assert that fails:
assert(svl::detail::validRange(p.wid1, p.wid2));
http://opengrok.libreoffice.org/xref/core/svl/source/items/itemset.cxx#152

Both p.wid1 and p.wid2 are 0, that's the reason why validRange(...) returns
false.
Those wid's are apparently WhichID's, and the following seems to be the line
where they're initialized as 0 (and it fails a few levels deeper):

pObj->SetMergedItem( SvxAdjustItem( SvxAdjust::Center, 0 ) );
http://opengrok.libreoffice.org/xref/core/sc/source/ui/drawfunc/fuconcustomshape.cxx#202

I have no idea what this whole thing is about...

Observed using master build (ce6b877ba89ae4193f7a719a7dfa4bb45ecd04e4) /
Windows 7.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105537
[Bug 105537] [META] Assertion failed crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to