summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-10 07:02:23 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:58 +0200
commit540a6554956bbee62b5f669d672d64e03a9d888c (patch)
treec0781d483843de3e60b28379d52a9c47331bd525 /sfx2
parentbdcb8d2197cfb98b7d96d4c7d1dd840cebc02dfd (diff)
uitest: an enum is a bad idea for the type
Change-Id: I1efd59b2f664f0aa9be733466fa7c1057e92ef27
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/uitest/sfx_uiobject.hxx2
-rw-r--r--sfx2/source/uitest/sfx_uiobject.cxx5
2 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/inc/uitest/sfx_uiobject.hxx b/sfx2/inc/uitest/sfx_uiobject.hxx
index 9a9277220cbd..470e70053a57 100644
--- a/sfx2/inc/uitest/sfx_uiobject.hxx
+++ b/sfx2/inc/uitest/sfx_uiobject.hxx
@@ -29,8 +29,6 @@ public:
virtual void execute(const OUString& rAction,
const StringMap& rParameters) override;
- virtual UIObjectType get_type() const override;
-
static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
protected:
diff --git a/sfx2/source/uitest/sfx_uiobject.cxx b/sfx2/source/uitest/sfx_uiobject.cxx
index 1f416277b497..6a45ab3ca6d2 100644
--- a/sfx2/source/uitest/sfx_uiobject.cxx
+++ b/sfx2/source/uitest/sfx_uiobject.cxx
@@ -75,11 +75,6 @@ void SfxTabDialogUIObject::execute(const OUString& rAction,
}
}
-UIObjectType SfxTabDialogUIObject::get_type() const
-{
- return UIObjectType::DIALOG;
-}
-
std::unique_ptr<UIObject> SfxTabDialogUIObject::create(vcl::Window* pWindow)
{
SfxTabDialog* pDialog = dynamic_cast<SfxTabDialog*>(pWindow);