summaryrefslogtreecommitdiff
path: root/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx')
-rw-r--r--chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx
index 75638edfed22..dfc57623bf2d 100644
--- a/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/TitleItemConverter.cxx
@@ -67,9 +67,9 @@ FormattedStringsConverter::FormattedStringsConverter(
MultipleItemConverter( rItemPool )
{
bool bHasRefSize = (pRefSize && xParentProp.is());
- for( sal_Int32 i = 0; i < aStrings.getLength(); ++i )
+ for( uno::Reference< chart2::XFormattedString > const & formattedStr : aStrings )
{
- uno::Reference< beans::XPropertySet > xProp( aStrings[ i ], uno::UNO_QUERY );
+ uno::Reference< beans::XPropertySet > xProp( formattedStr, uno::UNO_QUERY );
if( xProp.is())
{
if( bHasRefSize )