summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-09-13 13:15:23 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-09-13 21:21:17 +1000
commit2c3844a17574590150dbfdeb8750397a85182e75 (patch)
tree7357b7830077064f8ac58067f7b743d09443992a
parent7a70bbb0029956acc86790e36c04b057a6380bfd (diff)
vcl: SalFrame::Enable() is not used anywhere so removing
Change-Id: I851c414aa9e95c4d2c3ddb44deb5835656d16f87
-rw-r--r--vcl/headless/svpframe.cxx4
-rw-r--r--vcl/inc/headless/svpframe.hxx1
-rw-r--r--vcl/inc/osx/salframe.h1
-rw-r--r--vcl/inc/salframe.hxx2
-rw-r--r--vcl/inc/unx/gtk/gtkframe.hxx1
-rw-r--r--vcl/inc/unx/salframe.h1
-rw-r--r--vcl/inc/win/salframe.h1
-rw-r--r--vcl/osx/salframe.cxx4
-rw-r--r--vcl/unx/generic/window/salframe.cxx5
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx5
-rw-r--r--vcl/win/source/window/salframe.cxx5
11 files changed, 1 insertions, 29 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index d803f722096b..dad80d1c3a4d 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -249,10 +249,6 @@ void SvpSalFrame::Show( bool bVisible, bool bNoActivate )
}
}
-void SvpSalFrame::Enable( bool )
-{
-}
-
void SvpSalFrame::SetMinClientSize( long nWidth, long nHeight )
{
m_nMinWidth = nWidth;
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 );
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 96d20a9330dc..662445cea13d 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -457,10 +457,6 @@ void AquaSalFrame::Show(bool bVisible, bool bNoActivate)
}
}
-void AquaSalFrame::Enable( bool )
-{
-}
-
void AquaSalFrame::SetMinClientSize( long nWidth, long nHeight )
{
// #i113170# may not be the main thread if called from UNO API
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index dcfae9d95a04..ebce145a0e45 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -974,11 +974,6 @@ void X11SalFrame::updateGraphics( bool bClear )
pFreeGraphics_->SetDrawable( aDrawable, m_nXScreen );
}
-void X11SalFrame::Enable( bool /*bEnable*/ )
-{
- // NYI: enable/disable frame
-}
-
void X11SalFrame::SetIcon( sal_uInt16 nIcon )
{
if ( ! IsChildWindow() )
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index f8322e33cc6d..86dd03cdac3d 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -1879,11 +1879,6 @@ void GtkSalFrame::Show( bool bVisible, bool bNoActivate )
}
}
-void GtkSalFrame::Enable( bool /*bEnable*/ )
-{
- // Not implemented by X11SalFrame either
-}
-
void GtkSalFrame::setMinMaxSize()
{
/* #i34504# metacity (and possibly others) do not treat
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 3be752be87ce..8c129eb0fb74 100644
--- a/vcl/win/source/window/salframe.cxx
+++ b/vcl/win/source/window/salframe.cxx
@@ -1217,11 +1217,6 @@ void WinSalFrame::Show( bool bVisible, bool bNoActivate )
ImplSalShow( mhWnd, bVisible, bNoActivate );
}
-void WinSalFrame::Enable( bool bEnable )
-{
- EnableWindow( mhWnd, bEnable );
-}
-
void WinSalFrame::SetMinClientSize( long nWidth, long nHeight )
{
mnMinWidth = nWidth;