summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/TitleDialogData.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/TitleDialogData.cxx')
-rw-r--r--chart2/source/controller/dialogs/TitleDialogData.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/dialogs/TitleDialogData.cxx b/chart2/source/controller/dialogs/TitleDialogData.cxx
index 8ab0a3623f97..892c9a46003d 100644
--- a/chart2/source/controller/dialogs/TitleDialogData.cxx
+++ b/chart2/source/controller/dialogs/TitleDialogData.cxx
@@ -33,11 +33,11 @@ TitleDialogData::TitleDialogData( ReferenceSizeProvider* pRefSizeProvider )
, aTextList(7)
, apReferenceSizeProvider( pRefSizeProvider )
{
- sal_Int32 nN = 0;
- for(nN=7;nN--;)
- aPossibilityList[nN]=true;
- for(nN=7;nN--;)
- aExistenceList[nN]=false;
+ for (sal_Int32 i = 0; i < 7; i++)
+ {
+ aPossibilityList[i] = true;
+ aExistenceList[i] = false;
+ }
}
void TitleDialogData::readFromModel( const uno::Reference< frame::XModel>& xChartModel )