diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-22 09:02:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-22 09:39:18 +0100 |
commit | acfe7d39e5359483124b79fc7e98fb9afa65c0a6 (patch) | |
tree | 4b09b46f669330a26fee63b0926f91486e1d4da6 /vcl | |
parent | b3c8e4177d24a184ffa854958fb177200608f68c (diff) |
regoptions (etc.) now unused post registration-removal
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/svapp.hxx | 1 | ||||
-rw-r--r-- | vcl/source/app/svapp.cxx | 22 |
2 files changed, 0 insertions, 23 deletions
diff --git a/vcl/inc/vcl/svapp.hxx b/vcl/inc/vcl/svapp.hxx index aca31df7aea4..07f75f549dda 100644 --- a/vcl/inc/vcl/svapp.hxx +++ b/vcl/inc/vcl/svapp.hxx @@ -297,7 +297,6 @@ public: static sal_Bool IsProcessedMouseOrKeyEvent( sal_uLong nEventId ); static sal_uLong PostUserEvent( const Link& rLink, void* pCaller = NULL ); - static sal_Bool PostUserEvent( sal_uLong& rEventId, sal_uLong nEvent, void* pEventData = NULL ); static sal_Bool PostUserEvent( sal_uLong& rEventId, const Link& rLink, void* pCaller = NULL ); static void RemoveUserEvent( sal_uLong nUserEvent ); diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 9af5f08bdbfa..df0625c93c9b 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1030,28 +1030,6 @@ sal_uLong Application::PostUserEvent( const Link& rLink, void* pCaller ) // ----------------------------------------------------------------------- -sal_Bool Application::PostUserEvent( sal_uLong& rEventId, sal_uLong nEvent, void* pEventData ) -{ - ImplSVEvent* pSVEvent = new ImplSVEvent; - pSVEvent->mnEvent = nEvent; - pSVEvent->mpData = pEventData; - pSVEvent->mpLink = NULL; - pSVEvent->mpWindow = NULL; - pSVEvent->mbCall = sal_True; - rEventId = (sal_uLong)pSVEvent; - Window* pDefWindow = ImplGetDefaultWindow(); - if ( pDefWindow && pDefWindow->ImplGetFrame()->PostEvent( pSVEvent ) ) - return sal_True; - else - { - rEventId = 0; - delete pSVEvent; - return sal_False; - } -} - -// ----------------------------------------------------------------------- - sal_Bool Application::PostUserEvent( sal_uLong& rEventId, const Link& rLink, void* pCaller ) { ImplSVEvent* pSVEvent = new ImplSVEvent; |