diff options
Diffstat (limited to 'svtools/source/uno/popupwindowcontroller.cxx')
-rw-r--r-- | svtools/source/uno/popupwindowcontroller.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx index 03368204401b..989007269bd0 100644 --- a/svtools/source/uno/popupwindowcontroller.cxx +++ b/svtools/source/uno/popupwindowcontroller.cxx @@ -158,13 +158,13 @@ PopupWindowController::~PopupWindowController() } // XInterface -Any SAL_CALL PopupWindowController::queryInterface( const Type& aType ) +Any SAL_CALL PopupWindowController::queryInterface( const Type& aType ) throw (RuntimeException) { Any a( ToolboxController::queryInterface( aType ) ); if ( a.hasValue() ) return a; - + return ::cppu::queryInterface( aType, static_cast< lang::XServiceInfo* >( this )); } @@ -243,13 +243,13 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() th { pWin->EnableDocking(true); mpImpl->SetPopupWindow(pWin,pToolBox); - ::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin, FLOATWIN_POPUPMODE_NOFOCUSCLOSE|FLOATWIN_POPUPMODE_ALLMOUSEBUTTONCLOSE |FLOATWIN_POPUPMODE_NOMOUSEUPCLOSE ); + ::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin, FLOATWIN_POPUPMODE_NOFOCUSCLOSE|FLOATWIN_POPUPMODE_ALLMOUSEBUTTONCLOSE |FLOATWIN_POPUPMODE_NOMOUSEUPCLOSE ); } } return Reference< awt::XWindow >(); } -Reference< awt::XWindow > SAL_CALL PopupWindowController::createItemWindow( const Reference< awt::XWindow >& /*Parent*/ ) +Reference< awt::XWindow > SAL_CALL PopupWindowController::createItemWindow( const Reference< awt::XWindow >& /*Parent*/ ) throw (RuntimeException) { return Reference< awt::XWindow >(); |