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

          Priority: medium
            Bug ID: 57612
          Assignee: [email protected]
           Summary: report builder design mode CRASH on change FixedLine
                    height to zero
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.6.4.1 rc
         Component: Database
           Product: LibreOffice

Open attached .odb

Click "Reports" (in the left pane)

Right-click "Report1" (right-lower pane)

Click on the horizontal line in the middle of the "Detail" section.

If the properties don't show (at the right of the window), right click on the
line and click on "Properties"

Change height to "0"

Press tab key


---------> Abort (crash); stderr says "terminate called after throwing an
instance of 'com::sun::star::beans::PropertyVetoException'"



This happens with any height < .02cm


Expected behaviour: either accept the change, or reject it, but don't crash.


Origin:

reportdesign/source/core/api/FixedLine.cxx line 526:

    if ( (aSize.Width < MIN_WIDTH && m_nOrientation == 1) || (aSize.Height <
MIN_HEIGHT && m_nOrientation == 0) )
        throw beans::PropertyVetoException();


Backtrace also attached. You'll notice that the backtrace contains a "try ()
... catch ()" block that should catch this exception. Backtrace also goes
through UNO bridge (I don't understand why???), but UNO bridge should forward
UNO exceptions!

-- 
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