diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-31 23:52:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-31 23:52:16 +0100 |
commit | b82efddccf7c9be957f3fd450f409387d3905f6a (patch) | |
tree | 1cd952c4642199658c6944d5fa5939a15e52b1d2 /dbaccess | |
parent | f014ba75fdffaec1bc0f07e92743cacee2f39e71 (diff) |
callcatcher: remove unused code
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/browser/brwctrlr.cxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index 9a632e960499..d2ca1ccedc5a 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -2872,13 +2872,6 @@ public: // ::com::sun::star::lang::XEventListener virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( RuntimeException ); - - bool WaitUntilReallyLoaded(bool _bOnlyIfLoaded); - // waits 'til the first positioned event after the loaded event. returns true if successfull, - // false if the form was disposed or unloaded before or while waiting - // if _bOnlyIfLoaded is false and the form isn't loaded already loaded, false will be returned - // (without any wating) - void cancel(); protected: @@ -2984,33 +2977,6 @@ void LoadFormHelper::cancel() implDispose(); } -//------------------------------------------------------------------------------ -bool LoadFormHelper::WaitUntilReallyLoaded(bool _bOnlyIfLoaded) -{ - ::osl::ResettableMutexGuard aGuard( m_aAccessSafety ); - if (DISPOSED == m_eState) - return false; - - if (_bOnlyIfLoaded && (STARTED == m_eState)) - // we did't get a "loaded" event .... - return false; - - sal_Bool bDone = (POSITIONED == m_eState); - aGuard.clear(); - - while (!bDone) - { - aGuard.reset(); - bDone = (POSITIONED == m_eState); - aGuard.clear(); - } - - aGuard.reset(); - implDispose(); - - return true; -} - // ----------------------------------------------------------------------------- sal_Int16 SbaXDataBrowserController::getCurrentColumnPosition() { |