diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-10 07:02:23 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:01:58 +0200 |
commit | 540a6554956bbee62b5f669d672d64e03a9d888c (patch) | |
tree | c0781d483843de3e60b28379d52a9c47331bd525 /sfx2 | |
parent | fix indentation (diff) | |
download | core-540a6554956bbee62b5f669d672d64e03a9d888c.tar.gz core-540a6554956bbee62b5f669d672d64e03a9d888c.zip |
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.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/uitest/sfx_uiobject.cxx | 5 |
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); |