summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorJosh Heidenreich <josh.sickmate@gmail.com>2012-02-21 13:06:11 +1030
committerJosh Heidenreich <josh.sickmate@gmail.com>2012-02-22 09:09:57 +1030
commit936ebcfa4b44a90bdc8789ce7556f1ba3599375c (patch)
tree226f48b0eae7ba432d4cc564cd407074ecf94173 /vcl/unx/gtk
parentb1073d9fa264139333704f82553ade9979e2ca24 (diff)
EasyHack fdo#46258 Removal of VCL testtool support (-enableautomation option)
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index 7f4db68dd037..7384a735569b 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -3228,17 +3228,6 @@ gboolean GtkSalFrame::signalMap( GtkWidget *pWidget, GdkEvent*, gpointer frame )
bool bSetFocus = pThis->m_bSetFocusOnMap;
pThis->m_bSetFocusOnMap = false;
- if( ImplGetSVData()->mbIsTestTool )
- {
- /* #i76541# testtool needs the focus to be in a new document
- * however e.g. metacity does not necessarily put the focus into
- * a newly shown window. An extra little hint seems to help here.
- * however we don't want to interfere with the normal user experience
- * so this is done when running in testtool only
- */
- if( ! pThis->m_pParent && (pThis->m_nStyle & SAL_FRAME_STYLE_MOVEABLE) != 0 )
- bSetFocus = true;
- }
#if !GTK_CHECK_VERSION(3,0,0)
if( bSetFocus )