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

            Bug ID: 174403
           Summary: Crash in daily build when setting color to the line of
                    a text box
           Product: LibreOffice
           Version: 27.2.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: bibisectNotNeeded, haveBacktrace, implementationError
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 209600
  --> https://bugs.documentfoundation.org/attachment.cgi?id=209600&action=edit
CallStack by VS 2026

Start impress with a blank slide.
Insert a text box with some dummy text.
Set the line of the text box to "solid".
Set the line color to "red" --> Crash

It does not matter whether you use the line color tool from the toolbar or the
line properties dialog.

The error is in svdedtv1.cxx. It calls
 xProps->getPropertyValue(u"InteropGrabBag"_ustr)
without checking that the property really exists. The problem slipped in with
commit
https://opengrok.libreoffice.org/xref/core/svx/source/svdraw/svdedtv1.cxx?r=6e0b39149b549bd05065d451006c4d060589891d

Fix will be
                 // do we have XPropertySet from target object?
-                if (xProps)
+                if (xProps &&
xProps->getPropertySetInfo()->hasPropertyByName(u"InteropGrabBag"_ustr))

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to