diff options
author | Jens Carl <j.carl43@gmx.de> | 2018-12-01 19:01:51 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-12-01 21:17:40 +0100 |
commit | 68e841326a87004968b07b3ae522a0c312519f25 (patch) | |
tree | d714615dcfc968c29472599c0694c86ceb2cf5e6 /include/test | |
parent | da0afa5ac2b69bcb4b19ec4dd096d7b3f1e50fc9 (diff) |
Rename testGetByIndex to testIndex
Rename testGetByIndex to testIndex of sheet::XSheetAnnotations test
cases so it won't collide with testGetByIndex of
container::XIndexAccess.
Change-Id: Ic48ffe954c9f4f00b68066ad5d0d2df89cc4dfd7
Reviewed-on: https://gerrit.libreoffice.org/64402
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'include/test')
-rw-r--r-- | include/test/sheet/xsheetannotations.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/test/sheet/xsheetannotations.hxx b/include/test/sheet/xsheetannotations.hxx index ff44f655e007..d1cd65ea4b09 100644 --- a/include/test/sheet/xsheetannotations.hxx +++ b/include/test/sheet/xsheetannotations.hxx @@ -11,6 +11,10 @@ #define INCLUDED_TEST_SHEET_XSHEETANNOTATIONS_HXX #include <com/sun/star/sheet/XSheetAnnotations.hpp> +#include <com/sun/star/uno/XInterface.hpp> + +#include <com/sun/star/uno/Reference.hxx> + #include <test/testdllapi.hxx> namespace apitest { @@ -19,17 +23,16 @@ class OOO_DLLPUBLIC_TEST XSheetAnnotations { public: virtual css::uno::Reference< css::uno::XInterface > init() = 0; + virtual css::uno::Reference< css::sheet::XSheetAnnotations> getAnnotations(long nIndex) = 0; // XSheetAnnotations - void testGetByIndex(); + void testIndex(); void testInsertNew(); void testRemoveByIndex(); void testCount(); protected: ~XSheetAnnotations() {} - - virtual css::uno::Reference< css::sheet::XSheetAnnotations> getAnnotations(long nIndex) = 0; }; } |