summaryrefslogtreecommitdiff
path: root/test/source/helper
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2019-03-29 22:06:59 +0000
committerJens Carl <j.carl43@gmx.de>2019-03-30 22:40:23 +0100
commit2e0e7a15f66f5cb55f2a424fae6a9050c2c7f9ca (patch)
treeba1500b99dc070cd0a33eb5acb39c24295cebb6b /test/source/helper
parentbcecc4a2943632030dcd71964bc0aa5690c03735 (diff)
tdf#45904 Move XFormLayerAccess Java tests to C++
Move XFormLayerAccess Java tests to C++ for ScViewPaneObj. Change-Id: I7ed6ff51d435b6f3de85daec99a13583e50a450a Reviewed-on: https://gerrit.libreoffice.org/69942 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'test/source/helper')
-rw-r--r--test/source/helper/form.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/source/helper/form.cxx b/test/source/helper/form.cxx
index 3dbf079af59d..018a33ca4532 100644
--- a/test/source/helper/form.cxx
+++ b/test/source/helper/form.cxx
@@ -29,6 +29,14 @@ namespace helper
{
namespace form
{
+uno::Reference<drawing::XControlShape>
+ OOO_DLLPUBLIC_TEST createCommandButton(const uno::Reference<lang::XComponent>& r_xComponent,
+ const sal_Int32 nX, const sal_Int32 nY,
+ const sal_Int32 nHeight, const sal_Int32 nWidth)
+{
+ return createControlShape(r_xComponent, "CommandButton", nX, nY, nHeight, nWidth);
+}
+
uno::Reference<drawing::XControlShape> OOO_DLLPUBLIC_TEST createControlShape(
const uno::Reference<lang::XComponent>& r_xComponent, const OUString& r_aKind,
const sal_Int32 nX, const sal_Int32 nY, const sal_Int32 nHeight, const sal_Int32 nWidth)