summaryrefslogtreecommitdiff
path: root/include/svtools/popupwindowcontroller.hxx
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 /include/svtools/popupwindowcontroller.hxx
parent6128a8311d37514c49c2fe3ba80f850a51de37d6 (diff)
PopupWindowController: Use ImplInheritanceHelper
Change-Id: I82b9ebf69b6b35b3a5e1e8a5dc5bb84eff1feb19
Diffstat (limited to 'include/svtools/popupwindowcontroller.hxx')
-rw-r--r--include/svtools/popupwindowcontroller.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/svtools/popupwindowcontroller.hxx b/include/svtools/popupwindowcontroller.hxx
index a6e78da2dc33..f2fa65fcdcea 100644
--- a/include/svtools/popupwindowcontroller.hxx
+++ b/include/svtools/popupwindowcontroller.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <cppuhelper/implbase.hxx>
#include <svtools/toolboxcontroller.hxx>
#include <vcl/vclptr.hxx>
@@ -33,7 +34,8 @@ namespace svt
{
class PopupWindowControllerImpl;
-class SVT_DLLPUBLIC PopupWindowController : public svt::ToolboxController, public css::lang::XServiceInfo
+class SVT_DLLPUBLIC PopupWindowController : public cppu::ImplInheritanceHelper< svt::ToolboxController,
+ css::lang::XServiceInfo >
{
public:
PopupWindowController( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
@@ -43,11 +45,6 @@ public:
virtual VclPtr<vcl::Window> createPopupWindow( vcl::Window* pParent ) = 0;
- // XInterface
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL acquire() throw () override;
- virtual void SAL_CALL release() throw () override;
-
// XServiceInfo
virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override = 0;
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException, std::exception ) override;