summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-09-30 14:36:29 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-10-05 15:35:40 +0300
commita7331e2485a92492ad88893e029c3d895abb7a8a (patch)
treea9165c95060fd7b204b216b5a7f47b1a4fd47465 /svtools
parent6128a8311d37514c49c2fe3ba80f850a51de37d6 (diff)
PopupWindowController: Use ImplInheritanceHelper
Change-Id: I82b9ebf69b6b35b3a5e1e8a5dc5bb84eff1feb19
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/popupwindowcontroller.cxx24
1 files changed, 1 insertions, 23 deletions
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx
index b32824204d73..62ccb5609d9f 100644
--- a/svtools/source/uno/popupwindowcontroller.cxx
+++ b/svtools/source/uno/popupwindowcontroller.cxx
@@ -18,7 +18,6 @@
*/
#include <cppuhelper/supportsservice.hxx>
-#include <cppuhelper/queryinterface.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/toolbox.hxx>
@@ -121,7 +120,7 @@ IMPL_LINK( PopupWindowControllerImpl, WindowEventListener, VclWindowEvent&, rWin
PopupWindowController::PopupWindowController( const Reference< uno::XComponentContext >& rxContext,
const Reference< frame::XFrame >& xFrame,
const OUString& aCommandURL )
-: svt::ToolboxController( rxContext, xFrame, aCommandURL )
+: ImplInheritanceHelper( rxContext, xFrame, aCommandURL )
, mxImpl( new PopupWindowControllerImpl() )
{
}
@@ -130,27 +129,6 @@ PopupWindowController::~PopupWindowController()
{
}
-// XInterface
-Any SAL_CALL PopupWindowController::queryInterface( const Type& aType )
-throw (RuntimeException, std::exception)
-{
- Any a( ToolboxController::queryInterface( aType ) );
- if ( a.hasValue() )
- return a;
-
- return ::cppu::queryInterface( aType, static_cast< lang::XServiceInfo* >( this ));
-}
-
-void SAL_CALL PopupWindowController::acquire() throw ()
-{
- ToolboxController::acquire();
-}
-
-void SAL_CALL PopupWindowController::release() throw ()
-{
- ToolboxController::release();
-}
-
// XServiceInfo
sal_Bool SAL_CALL PopupWindowController::supportsService( const OUString& ServiceName ) throw(RuntimeException, std::exception)
{