From 2c3844a17574590150dbfdeb8750397a85182e75 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sat, 13 Sep 2014 13:15:23 +1000 Subject: vcl: SalFrame::Enable() is not used anywhere so removing Change-Id: I851c414aa9e95c4d2c3ddb44deb5835656d16f87 --- vcl/inc/headless/svpframe.hxx | 1 - vcl/inc/osx/salframe.h | 1 - vcl/inc/salframe.hxx | 2 +- vcl/inc/unx/gtk/gtkframe.hxx | 1 - vcl/inc/unx/salframe.h | 1 - vcl/inc/win/salframe.h | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) (limited to 'vcl/inc') diff --git a/vcl/inc/headless/svpframe.hxx b/vcl/inc/headless/svpframe.hxx index 56f8c5fbf11e..8e0bbd4da30c 100644 --- a/vcl/inc/headless/svpframe.hxx +++ b/vcl/inc/headless/svpframe.hxx @@ -90,7 +90,6 @@ public: virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle ) SAL_OVERRIDE; virtual void Show( bool bVisible, bool bNoActivate = false ) SAL_OVERRIDE; - virtual void Enable( bool bEnable ) SAL_OVERRIDE; virtual void SetMinClientSize( long nWidth, long nHeight ) SAL_OVERRIDE; virtual void SetMaxClientSize( long nWidth, long nHeight ) SAL_OVERRIDE; virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) SAL_OVERRIDE; diff --git a/vcl/inc/osx/salframe.h b/vcl/inc/osx/salframe.h index be06137a3543..905b089aedc3 100644 --- a/vcl/inc/osx/salframe.h +++ b/vcl/inc/osx/salframe.h @@ -119,7 +119,6 @@ public: virtual void SetMenu( SalMenu* pSalMenu ) SAL_OVERRIDE; virtual void DrawMenuBar() SAL_OVERRIDE; virtual void Show( bool bVisible, bool bNoActivate = false ) SAL_OVERRIDE; - virtual void Enable( bool bEnable ) SAL_OVERRIDE; virtual void SetMinClientSize( long nWidth, long nHeight ) SAL_OVERRIDE; virtual void SetMaxClientSize( long nWidth, long nHeight ) SAL_OVERRIDE; virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) SAL_OVERRIDE; diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx index c527c12312c7..1d9eed738cfb 100644 --- a/vcl/inc/salframe.hxx +++ b/vcl/inc/salframe.hxx @@ -128,7 +128,7 @@ public: // Before the window is visible, a resize event // must be sent with the correct size virtual void Show( bool bVisible, bool bNoActivate = false ) = 0; - virtual void Enable( bool bEnable ) = 0; + // Set ClientSize and Center the Window to the desktop // and send/post a resize message virtual void SetMinClientSize( long nWidth, long nHeight ) = 0; diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index fe998348defe..d1bd4fbbf756 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -367,7 +367,6 @@ public: // Before the window is visible, a resize event // must be sent with the correct size virtual void Show( bool bVisible, bool bNoActivate = false ) SAL_OVERRIDE; - virtual void Enable( bool bEnable ) SAL_OVERRIDE; // Set ClientSize and Center the Window to the desktop // and send/post a resize message virtual void SetMinClientSize( long nWidth, long nHeight ) SAL_OVERRIDE; diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h index 000ffba6826e..bd37f9143c75 100644 --- a/vcl/inc/unx/salframe.h +++ b/vcl/inc/unx/salframe.h @@ -225,7 +225,6 @@ public: virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle ) SAL_OVERRIDE; virtual void Show( bool bVisible, bool bNoActivate = false ) SAL_OVERRIDE; - virtual void Enable( bool bEnable ) SAL_OVERRIDE; virtual void SetMinClientSize( long nWidth, long nHeight ) SAL_OVERRIDE; virtual void SetMaxClientSize( long nWidth, long nHeight ) SAL_OVERRIDE; virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) SAL_OVERRIDE; diff --git a/vcl/inc/win/salframe.h b/vcl/inc/win/salframe.h index 7389f67e81f5..a94cca5afbcb 100644 --- a/vcl/inc/win/salframe.h +++ b/vcl/inc/win/salframe.h @@ -96,7 +96,6 @@ public: virtual void DrawMenuBar(); virtual void SetExtendedFrameStyle( SalExtStyle nExtStyle ); virtual void Show( bool bVisible, bool bNoActivate = FALSE ); - virtual void Enable( bool bEnable ); virtual void SetMinClientSize( long nWidth, long nHeight ); virtual void SetMaxClientSize( long nWidth, long nHeight ); virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ); -- cgit