summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-04 15:32:08 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-04 16:50:44 +0000
commitb4a31534b949c512facdc7b0d148f249db285d13 (patch)
tree98605c3fa936c9365cdfea5efd38d15cac61b6ea /sfx2/source/dialog
parent4ad249af88d15f2c8a09f0721a59d82718fcc201 (diff)
drop AutoHide code
only used from reportdesign and that appears to be overlooked from an earlier eradication program Change-Id: I196fd7ccbc909c935daf534d55e6b39de8510f23
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r--sfx2/source/dialog/splitwin.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 7e96d9582e88..67c019002d0a 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -110,7 +110,6 @@ public:
aTimer.SetTimeout( 200 );
SetAlign( pOwner->GetAlign() );
Actualize();
- ShowAutoHideButton( pOwner->IsAutoHideButtonVisible() );
ShowFadeInHideButton();
}
@@ -198,9 +197,8 @@ SfxSplitWindow::SfxSplitWindow( vcl::Window* pParent, SfxChildAlignment eAl,
pEmptyWin(nullptr),
pActive(nullptr)
{
- if ( bWithButtons )
+ if (bWithButtons)
{
- ShowAutoHideButton( false ); // no autohide button (pin) anymore
ShowFadeOutButton();
}