From ea9367037232054a576f1e6aabffeb3a62ffa44b Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 29 Apr 2024 01:31:19 +0500 Subject: 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 Tested-by: Jenkins --- testtools/source/bridgetest/bridgetest.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testtools') 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; -- cgit /cib/libreoffice-5-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author