diff options
Diffstat (limited to 'test/source/helper/form.cxx')
-rw-r--r-- | test/source/helper/form.cxx | 8 |
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) |