diff options
-rw-r--r-- | include/vcl/uitest/uitest.hxx | 14 | ||||
-rw-r--r-- | vcl/source/uitest/uno/uitest_uno.cxx | 6 |
2 files changed, 7 insertions, 13 deletions
diff --git a/include/vcl/uitest/uitest.hxx b/include/vcl/uitest/uitest.hxx index 53bdded590aa..189df1de55e8 100644 --- a/include/vcl/uitest/uitest.hxx +++ b/include/vcl/uitest/uitest.hxx @@ -19,20 +19,18 @@ namespace com::sun::star::uno { template <typename > class Sequence; } class UIObject; -class UITest +namespace UITest { -public: + bool executeCommand(const OUString& rCommand); - static bool executeCommand(const OUString& rCommand); - - static bool executeCommandWithParameters(const OUString& rCommand, + bool executeCommandWithParameters(const OUString& rCommand, const css::uno::Sequence< css::beans::PropertyValue >& rArgs); - static bool executeDialog(const OUString& rCommand); + bool executeDialog(const OUString& rCommand); - static std::unique_ptr<UIObject> getFocusTopWindow(); + std::unique_ptr<UIObject> getFocusTopWindow(); - static std::unique_ptr<UIObject> getFloatWindow(); + std::unique_ptr<UIObject> getFloatWindow(); }; #endif diff --git a/vcl/source/uitest/uno/uitest_uno.cxx b/vcl/source/uitest/uno/uitest_uno.cxx index 9efbd3c3772d..9886b049a43a 100644 --- a/vcl/source/uitest/uno/uitest_uno.cxx +++ b/vcl/source/uitest/uno/uitest_uno.cxx @@ -29,9 +29,6 @@ namespace class UITestUnoObj : public UITestBase { -private: - std::unique_ptr<UITest> mpUITest; - public: UITestUnoObj(); @@ -56,8 +53,7 @@ public: } -UITestUnoObj::UITestUnoObj(): - mpUITest(new UITest) +UITestUnoObj::UITestUnoObj() { } |