diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-03-27 19:34:16 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-03-28 19:55:35 +0100 |
commit | 1e2868296730d3548574f61a3c6e323aa5c0598a (patch) | |
tree | 69fed8ecb8db48d805c50b17c90d09e2c996ab71 /test/source/view/xcontrolaccess.cxx | |
parent | c61623028b79f918d0ed2bc2ca47db17e68a26cb (diff) |
Be consistent with namespaces and parameter order for UNO Api helpers
Have this file the same namespaces as the new introduced helpers in
include/test/helper/shape.hxx and also change the order of the parameter
be the same to avoid confusion.
Change-Id: I5614e9a79dff3ee9aca96ff2e50ddfafa83de539
Reviewed-on: https://gerrit.libreoffice.org/69870
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'test/source/view/xcontrolaccess.cxx')
-rw-r--r-- | test/source/view/xcontrolaccess.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/source/view/xcontrolaccess.cxx b/test/source/view/xcontrolaccess.cxx index 29ca1fa339aa..5f00e88a5f63 100644 --- a/test/source/view/xcontrolaccess.cxx +++ b/test/source/view/xcontrolaccess.cxx @@ -21,10 +21,11 @@ #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/view/XControlAccess.hpp> +#include <com/sun/star/uno/Reference.hxx> + #include <cppunit/extensions/HelperMacros.h> using namespace css; -using namespace css::uno; namespace apitest { @@ -39,7 +40,7 @@ void XControlAccess::testGetControl() uno::Reference<drawing::XShapes> xShapes(xDP, uno::UNO_QUERY_THROW); uno::Reference<drawing::XShape> xShape( - createControlShape(xComponent, 100, 100, 10000, 50000, "CommandButton"), + helper::form::createControlShape(xComponent, "CommandButton", 10000, 50000, 100, 100), uno::UNO_QUERY_THROW); xShapes->add(xShape); |