Kaydet (Commit) b4a31534 authored tarafından Caolán McNamara's avatar Caolán McNamara

drop AutoHide code

only used from reportdesign and that appears to be overlooked from an earlier
eradication program

Change-Id: I196fd7ccbc909c935daf534d55e6b39de8510f23
üst 4ad249af
...@@ -73,7 +73,6 @@ private: ...@@ -73,7 +73,6 @@ private:
mbCalc:1, mbCalc:1,
mbRecalc:1, mbRecalc:1,
mbInvalidate:1, mbInvalidate:1,
mbAutoHide:1,
mbFadeIn:1, mbFadeIn:1,
mbFadeOut:1, mbFadeOut:1,
mbAutoHideIn:1, mbAutoHideIn:1,
...@@ -94,11 +93,9 @@ private: ...@@ -94,11 +93,9 @@ private:
SAL_DLLPRIVATE void ImplSetWindowSize( long nDelta ); SAL_DLLPRIVATE void ImplSetWindowSize( long nDelta );
SAL_DLLPRIVATE void ImplSplitMousePos( Point& rMousePos ); SAL_DLLPRIVATE void ImplSplitMousePos( Point& rMousePos );
SAL_DLLPRIVATE void ImplGetButtonRect( Rectangle& rRect, long nEx, bool bTest ) const; SAL_DLLPRIVATE void ImplGetButtonRect( Rectangle& rRect, long nEx, bool bTest ) const;
SAL_DLLPRIVATE void ImplGetAutoHideRect( Rectangle& rRect, bool bTest = false ) const;
SAL_DLLPRIVATE void ImplGetFadeInRect( Rectangle& rRect, bool bTest = false ) const; SAL_DLLPRIVATE void ImplGetFadeInRect( Rectangle& rRect, bool bTest = false ) const;
SAL_DLLPRIVATE void ImplGetFadeOutRect( Rectangle& rRect, bool bTest = false ) const; SAL_DLLPRIVATE void ImplGetFadeOutRect( Rectangle& rRect, bool bTest = false ) const;
SAL_DLLPRIVATE void ImplDrawButtonRect(vcl::RenderContext& rRenderContext, const Rectangle& rRect, long nSize); SAL_DLLPRIVATE void ImplDrawButtonRect(vcl::RenderContext& rRenderContext, const Rectangle& rRect, long nSize);
SAL_DLLPRIVATE void ImplDrawAutoHide(vcl::RenderContext& rRenderContext);
SAL_DLLPRIVATE void ImplDrawFadeIn(vcl::RenderContext& rRenderContext); SAL_DLLPRIVATE void ImplDrawFadeIn(vcl::RenderContext& rRenderContext);
SAL_DLLPRIVATE void ImplDrawFadeOut(vcl::RenderContext& rRenderContext); SAL_DLLPRIVATE void ImplDrawFadeOut(vcl::RenderContext& rRenderContext);
SAL_DLLPRIVATE void ImplNewAlign(); SAL_DLLPRIVATE void ImplNewAlign();
...@@ -185,8 +182,6 @@ public: ...@@ -185,8 +182,6 @@ public:
Size CalcLayoutSizePixel( const Size& aNewSize ); Size CalcLayoutSizePixel( const Size& aNewSize );
void ShowAutoHideButton( bool bShow = true );
bool IsAutoHideButtonVisible() const { return mbAutoHide; }
void ShowFadeInHideButton(); void ShowFadeInHideButton();
void ShowFadeOutButton(); void ShowFadeOutButton();
long GetFadeInSize() const; long GetFadeInSize() const;
......
...@@ -113,7 +113,6 @@ ODesignView::ODesignView( vcl::Window* pParent, ...@@ -113,7 +113,6 @@ ODesignView::ODesignView( vcl::Window* pParent,
// Splitter einrichten // Splitter einrichten
m_aSplitWin->SetSplitHdl(LINK(this, ODesignView,SplitHdl)); m_aSplitWin->SetSplitHdl(LINK(this, ODesignView,SplitHdl));
m_aSplitWin->ShowAutoHideButton();
m_aSplitWin->SetAlign(WindowAlign::Left); m_aSplitWin->SetAlign(WindowAlign::Left);
m_aSplitWin->Show(); m_aSplitWin->Show();
......
...@@ -110,7 +110,6 @@ public: ...@@ -110,7 +110,6 @@ public:
aTimer.SetTimeout( 200 ); aTimer.SetTimeout( 200 );
SetAlign( pOwner->GetAlign() ); SetAlign( pOwner->GetAlign() );
Actualize(); Actualize();
ShowAutoHideButton( pOwner->IsAutoHideButtonVisible() );
ShowFadeInHideButton(); ShowFadeInHideButton();
} }
...@@ -198,9 +197,8 @@ SfxSplitWindow::SfxSplitWindow( vcl::Window* pParent, SfxChildAlignment eAl, ...@@ -198,9 +197,8 @@ SfxSplitWindow::SfxSplitWindow( vcl::Window* pParent, SfxChildAlignment eAl,
pEmptyWin(nullptr), pEmptyWin(nullptr),
pActive(nullptr) pActive(nullptr)
{ {
if ( bWithButtons ) if (bWithButtons)
{ {
ShowAutoHideButton( false ); // no autohide button (pin) anymore
ShowFadeOutButton(); ShowFadeOutButton();
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment