[Libreoffice-commits] .: Branch 'libreoffice-3-4' - uui/source
Tor Lillqvist
tml at kemper.freedesktop.org
Wed Apr 6 06:22:18 PDT 2011
uui/source/openlocked.cxx | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit 804dcc9e229812509a06799fbcf1ceea7ca34398
Author: Tor Lillqvist <tlillqvist at novell.com>
Date: Wed Apr 6 16:21:30 2011 +0300
bnc#656566: EnableAlwaysOnTop(true) in OpenLockedQueryBox constructor
diff --git a/uui/source/openlocked.cxx b/uui/source/openlocked.cxx
index 4734a48..bf2076f 100644
--- a/uui/source/openlocked.cxx
+++ b/uui/source/openlocked.cxx
@@ -44,6 +44,15 @@ OpenLockedQueryBox::OpenLockedQueryBox( Window* pParent, ResMgr* pResMgr, const
AddButton( BUTTON_CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON );
SetButtonHelpText( RET_YES, String() );
SetButtonHelpText( RET_NO, String() );
+
+#ifdef WNT
+ // bnc#656566
+ // Yes, it is silly to do this only for this dialog but not the
+ // other similar ones. But hey, it was about this dialog that the
+ // customer complained. You who read this and feel the itch, feel
+ // free to fix the problem in a better way.
+ EnableAlwaysOnTop( true );
+#endif
}
OpenLockedQueryBox::~OpenLockedQueryBox()
More information about the Libreoffice-commits
mailing list