diff options
Diffstat (limited to 'desktop/test/deployment/active/active_python.py')
-rw-r--r-- | desktop/test/deployment/active/active_python.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/test/deployment/active/active_python.py b/desktop/test/deployment/active/active_python.py index f52962e294b7..7f6e5bbd44c4 100644 --- a/desktop/test/deployment/active/active_python.py +++ b/desktop/test/deployment/active/active_python.py @@ -21,6 +21,7 @@ import unohelper from com.sun.star.awt import Rectangle from com.sun.star.awt.MessageBoxButtons import BUTTONS_OK +from com.sun.star.awt.MessageBoxType import INFOBOX from com.sun.star.frame import XDispatch, XDispatchProvider from com.sun.star.lang import XServiceInfo from com.sun.star.registry import InvalidRegistryException @@ -76,7 +77,7 @@ class Dispatch(unohelper.Base, XServiceInfo, XDispatch): smgr.createInstanceWithContext( \ "com.sun.star.frame.Desktop", self.context). \ getCurrentFrame().getComponentWindow(), \ - Rectangle(), "infobox", BUTTONS_OK, "active", "python") + INFOBOX, BUTTONS_OK, "active", "python") box.execute(); box.dispose(); |