diff options
Diffstat (limited to 'sd/qa/unit/import-tests-smartart.cxx')
-rw-r--r-- | sd/qa/unit/import-tests-smartart.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx index a94e5ccb5103..e3b71703293f 100644 --- a/sd/qa/unit/import-tests-smartart.cxx +++ b/sd/qa/unit/import-tests-smartart.cxx @@ -1308,9 +1308,8 @@ void SdImportTestSmartArt::testMissingBulletAndIndent() uno::Sequence<beans::PropertyValue> aBulletProps; xNumRule->getByIndex(1) >>= aBulletProps; - for (int i = 0; i < aBulletProps.getLength(); ++i) + for (beans::PropertyValue const & rProp : std::as_const(aBulletProps)) { - const beans::PropertyValue& rProp = aBulletProps[i]; if(rProp.Name == "LeftMargin") CPPUNIT_ASSERT_EQUAL(sal_Int32(309), rProp.Value.get<sal_Int32>()); } |