Kaydet (Commit) 32095947 authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: redundantAssignment

Change-Id: I16ced23894e461e7953ed4978ca0d4cf7f40f5e8
üst ed0b3988
......@@ -930,11 +930,10 @@ sal_uInt16 LineListBox::GetEntryStyle( sal_uInt16 nPos ) const
sal_Bool LineListBox::UpdatePaintLineColor( void )
{
sal_Bool bRet = sal_True;
const StyleSettings& rSettings = GetSettings().GetStyleSettings();
Color aNewCol( rSettings.GetWindowColor().IsDark()? rSettings.GetLabelTextColor() : aColor );
bRet = aNewCol != maPaintCol;
sal_Bool bRet = aNewCol != maPaintCol;
if( bRet )
maPaintCol = aNewCol;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment