https://issues.apache.org/ooo/show_bug.cgi?id=121704
Bug ID: 121704
Issue Type: DEFECT
Summary: com.sun.star.awt.XMessageBox crashes AOO 3.5 rev.
1441196
Classification: Code
Product: framework
Version: AOO400-dev
Hardware: PC
OS: Windows 7
Status: CONFIRMED
Severity: critical
Priority: P3
Component: code
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
the following code crashes aoo 3.5 rev. 1441196 on win7 64bit with a
public short showMessageBox(final String sTitle, final String sMessage,
final String type, final int buttons) {
final XWindow xWindow = this.xFrame.getContainerWindow();
final XWindowPeer xPeer = UnoCasts.toWindowPeer(xWindow);
final Rectangle aRect = new Rectangle();
final XMessageBoxFactory aFactory = UnoCasts
.toMessageBoxFactory(this.xToolkit);
-> debug shows a "class java.lang.NoSuchMethodError"
final XMessageBox xMessageBox = aFactory.createMessageBox(xPeer, aRect,
type, buttons, sTitle, sMessage);
return xMessageBox.execute();
}
it worked fine in rev. 1425754 and aoo 3.4.1
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.