summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-04-29 01:31:19 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-04-30 06:20:50 +0200
commitea9367037232054a576f1e6aabffeb3a62ffa44b (patch)
treeea5c755830b87fc140e9c3ce027b4957956fae48 /testtools
parente82c9633e4f9bc4590bd6cd8d2a82a974ddaf00f (diff)
Drop some uses of css::uno::Sequence::getConstArray ...
where it was obsoleted by commits 2484de6728bd11bb7949003d112f1ece2223c7a1 (Remove non-const Sequence::begin()/end() in internal code, 2021-10-15) and fb3c04bd1930eedacd406874e1a285d62bbf27d9 (Drop non-const Sequence::operator[] in internal code 2021-11-05). Change-Id: I4ccc647bb794515c8c11f8dfd9a26563f4aa094b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166819 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index f0b5e9de557b..c438459b5406 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -174,11 +174,9 @@ static bool equals( const TestData & rData1, const TestData & rData2 )
if (nLen == rData2.Sequence.getLength())
{
// once again by hand sequence ==
- const TestElement * pElements1 = rData1.Sequence.getConstArray();
- const TestElement * pElements2 = rData2.Sequence.getConstArray();
for ( ; nLen--; )
{
- if (! equals( pElements1[nLen], pElements2[nLen] ))
+ if (!equals(rData1.Sequence[nLen], rData2.Sequence[nLen]))
{
check( false, "### sequence element did not match!" );
return false;