summaryrefslogtreecommitdiff
path: root/cui/source/options/optchart.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optchart.cxx')
-rw-r--r--cui/source/options/optchart.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx
index 509313d4c719..cc7dc50db9b7 100644
--- a/cui/source/options/optchart.cxx
+++ b/cui/source/options/optchart.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,11 +58,11 @@ SvxDefaultColorOptPage::SvxDefaultColorOptPage( Window* pParent, const SfxItemSe
SfxTabPage( pParent, CUI_RES( RID_OPTPAGE_CHART_DEFCOLORS ), rInAttrs ),
- aGbChartColors ( this, CUI_RES( FL_CHART_COLOR_LIST ) ),
- aLbChartColors ( this, CUI_RES( LB_CHART_COLOR_LIST ) ),
- aGbColorBox ( this, CUI_RES( FL_COLOR_BOX ) ),
- aValSetColorBox ( this, CUI_RES( CT_COLOR_BOX ) ),
- aPBDefault ( this, CUI_RES( PB_RESET_TO_DEFAULT ) )
+ aGbChartColors ( this, CUI_RES( FL_CHART_COLOR_LIST ) ),
+ aLbChartColors ( this, CUI_RES( LB_CHART_COLOR_LIST ) ),
+ aGbColorBox ( this, CUI_RES( FL_COLOR_BOX ) ),
+ aValSetColorBox ( this, CUI_RES( CT_COLOR_BOX ) ),
+ aPBDefault ( this, CUI_RES( PB_RESET_TO_DEFAULT ) )
{
FreeResource();
@@ -160,7 +160,7 @@ long SvxDefaultColorOptPage::GetColorIndex( const Color& rCol )
long nCount = pColorTab->Count();
XColorEntry* pColorEntry;
- for( long i = nCount - 1; i >= 0; i-- ) // default chart colors are at the end of the table
+ for( long i = nCount - 1; i >= 0; i-- ) // default chart colors are at the end of the table
{
pColorEntry = pColorTab->GetColor( i );
if( pColorEntry && pColorEntry->GetColor() == rCol )
@@ -203,13 +203,13 @@ IMPL_LINK( SvxDefaultColorOptPage, ListClickedHdl, ChartColorLB*, pColorList )
long nIndex = GetColorIndex( aCol );
- if( nIndex == -1 ) // not found
+ if( nIndex == -1 ) // not found
{
aValSetColorBox.SetNoSelection();
}
else
{
- aValSetColorBox.SelectItem( (USHORT)nIndex + 1 ); // ValueSet is 1-based
+ aValSetColorBox.SelectItem( (USHORT)nIndex + 1 ); // ValueSet is 1-based
}
return 0L;
@@ -229,7 +229,7 @@ IMPL_LINK( SvxDefaultColorOptPage, BoxClickedHdl, ValueSet*, EMPTYARG )
aLbChartColors.Modify( & aEntry, nIdx );
pColorConfig->ReplaceColorByIndex( nIdx, aEntry );
- aLbChartColors.SelectEntryPos( nIdx ); // reselect entry
+ aLbChartColors.SelectEntryPos( nIdx ); // reselect entry
}
return 0L;