diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-03-09 23:05:20 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-03-13 19:01:37 +0000 |
commit | 758050caa06bd742dddea55fb29b0eec1b2309e4 (patch) | |
tree | 7591f5483eb3e159185215dec4660c505e947166 /include/test/sheet | |
parent | fff2b5d06c24bb36a498bdb869158ee09c487111 (diff) |
Use a more reasonable type for XDataPilotDescriptor::checkName nIndex parameter
Change-Id: If9e6760a6b23c63d03d337d6b111493684d67c85
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148568
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/test/sheet')
-rw-r--r-- | include/test/sheet/xdatapilotdescriptor.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/test/sheet/xdatapilotdescriptor.hxx b/include/test/sheet/xdatapilotdescriptor.hxx index 9186b52ebb8f..5e4e7c62da87 100644 --- a/include/test/sheet/xdatapilotdescriptor.hxx +++ b/include/test/sheet/xdatapilotdescriptor.hxx @@ -16,6 +16,7 @@ #include <test/testdllapi.hxx> +#include <cstddef> #include <vector> namespace apitest { @@ -41,7 +42,7 @@ protected: private: static void testGetDataPilotFields_Impl( css::uno::Reference< css::sheet::XDataPilotDescriptor > const & xDescr ); - static void checkName( css::uno::Reference< css::container::XIndexAccess > const & xIndex, sal_Int32 nIndex ); + static void checkName( css::uno::Reference< css::container::XIndexAccess > const & xIndex, std::size_t nIndex ); static std::vector<OUString> maFieldNames; }; |