diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-02-07 14:27:52 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-02-12 23:00:59 +0000 |
commit | 608811c2cb507176530aad0e7e6da81335ecaf10 (patch) | |
tree | 5a91691da6c297623726433361cc967215c96723 /chart2/source/controller/dialogs/TitleDialogData.cxx | |
parent | 8cc8ffdb04f9915c5b7dddd619ef89762c7a40c2 (diff) |
chart2: simplify and/or clean-up and c++11 features
Change-Id: I4550d04ae4bf6e45f24e34dfb2babc0fdef8ba5a
Reviewed-on: https://gerrit.libreoffice.org/34006
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'chart2/source/controller/dialogs/TitleDialogData.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/TitleDialogData.cxx | 10 |
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 ) |