summaryrefslogtreecommitdiff
path: root/svtools/source/control/ctrlbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/ctrlbox.cxx')
-rw-r--r--svtools/source/control/ctrlbox.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 0dce36d4a5d8..37b01f3d30a4 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.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
@@ -643,20 +643,20 @@ void LineListBox::UpdateLineColors( void )
{
if( UpdatePaintLineColor() )
{
- ULONG nCount = pLineList->Count();
+ ULONG nCount = pLineList->Count();
if( !nCount )
return;
- XubString aStr;
- Bitmap aBmp;
+ XubString aStr;
+ Bitmap aBmp;
// exchange entries which containing lines
SetUpdateMode( FALSE );
- USHORT nSelEntry = GetSelectEntryPos();
+ USHORT nSelEntry = GetSelectEntryPos();
for( ULONG n = 0 ; n < nCount ; ++n )
{
- ImpLineListData* pData = pLineList->GetObject( n );
+ ImpLineListData* pData = pLineList->GetObject( n );
if( pData )
{
// exchange listbox data
@@ -679,9 +679,9 @@ void LineListBox::UpdateLineColors( void )
BOOL LineListBox::UpdatePaintLineColor( void )
{
- BOOL bRet = TRUE;
- const StyleSettings& rSettings = GetSettings().GetStyleSettings();
- Color aNewCol( rSettings.GetWindowColor().IsDark()? rSettings.GetLabelTextColor() : aColor );
+ BOOL bRet = TRUE;
+ const StyleSettings& rSettings = GetSettings().GetStyleSettings();
+ Color aNewCol( rSettings.GetWindowColor().IsDark()? rSettings.GetLabelTextColor() : aColor );
bRet = aNewCol != maPaintCol;