diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-06-30 20:50:45 +0300 |
---|---|---|
committer | Arkadiy Illarionov <qarkai@gmail.com> | 2019-07-01 07:18:16 +0200 |
commit | 706798376f42771f9c644852eeaeed5540f421ef (patch) | |
tree | 81e4b1e9278694018a3b42f732411fe304427756 /test/source/text/textcontent.cxx | |
parent | bfc19d77cb8db445f1c6123347c19a4c0c6a6cf8 (diff) |
Simplify Sequence iterations in test
Use range-based loops or replace with STL functions
Change-Id: I93efa86f49eb49dbdd3b7572dbd538bc300ded05
Reviewed-on: https://gerrit.libreoffice.org/74932
Tested-by: Jenkins
Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
Diffstat (limited to 'test/source/text/textcontent.cxx')
-rw-r--r-- | test/source/text/textcontent.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/text/textcontent.cxx b/test/source/text/textcontent.cxx index 714011117ca0..36451bb7a37f 100644 --- a/test/source/text/textcontent.cxx +++ b/test/source/text/textcontent.cxx @@ -44,7 +44,7 @@ void TextContent::testTextContentProperties() uno::Sequence<text::TextContentAnchorType> aAnchorTypes; CPPUNIT_ASSERT(xPS->getPropertyValue("AnchorTypes") >>= aAnchorTypes); - CPPUNIT_ASSERT(aAnchorTypes.getLength()); + CPPUNIT_ASSERT(aAnchorTypes.hasElements()); text::WrapTextMode aExpectedWTM; CPPUNIT_ASSERT(xPS->getPropertyValue("TextWrap") >>= aExpectedWTM); |