summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-06 06:37:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-06 11:26:35 +0000
commita7f82767e0fed810df3f6300a09507dc00cd87f9 (patch)
tree61b55f68a18c369a9b012633d533362bc755f947 /vcl
parent867df14dd1b4570fa5a3719faf2e8f2a2007323e (diff)
last user of Window::PostStateChanged was TaskBar
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/window.hxx1
-rw-r--r--vcl/source/window/window.cxx9
2 files changed, 0 insertions, 10 deletions
diff --git a/vcl/inc/vcl/window.hxx b/vcl/inc/vcl/window.hxx
index f4b79ae700d0..45f4bb434fe0 100644
--- a/vcl/inc/vcl/window.hxx
+++ b/vcl/inc/vcl/window.hxx
@@ -624,7 +624,6 @@ public:
sal_Bool PostUserEvent( sal_uLong& rEventId, sal_uLong nEvent, void* pEventData = NULL );
sal_Bool PostUserEvent( sal_uLong& rEventId, const Link& rLink, void* pCaller = NULL );
void RemoveUserEvent( sal_uLong nUserEvent );
- void PostStateChanged( StateChangedType nState );
void IncrementLockCount();
void DecrementLockCount();
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 8c3d4554bc02..1d679a5acff7 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -5332,15 +5332,6 @@ IMPL_LINK( Window, ImplAsyncStateChangedHdl, void*, pState )
// -----------------------------------------------------------------------
-void Window::PostStateChanged( StateChangedType nState )
-{
- DBG_CHKTHIS( Window, ImplDbgCheckWindow );
-
- PostUserEvent( LINK( this, Window, ImplAsyncStateChangedHdl ), (void*)(sal_uLong)nState );
-}
-
-// -----------------------------------------------------------------------
-
sal_Bool Window::IsLocked( sal_Bool bChildren ) const
{
if ( mpWindowImpl->mnLockCount != 0 )