summaryrefslogtreecommitdiffstats
path: root/editeng/qa/unit/core-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/qa/unit/core-test.cxx')
-rw-r--r--editeng/qa/unit/core-test.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index b5b133f047a6..a91565bce2a9 100644
--- a/editeng/qa/unit/core-test.cxx
+++ b/editeng/qa/unit/core-test.cxx
@@ -231,8 +231,8 @@ void Test::testConstruction()
bool includes(const uno::Sequence<OUString>& rSeq, const OUString& rVal)
{
- for (sal_Int32 i = 0, n = rSeq.getLength(); i < n; ++i)
- if (rSeq[i] == rVal)
+ for (OUString const & s : rSeq)
+ if (s == rVal)
return true;
return false;