summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-02-17 09:21:43 +0100
committerDavid Tardon <dtardon@redhat.com>2011-02-17 09:21:43 +0100
commit31695893d6f0fc6753fedbc9fbaedd73148f71bf (patch)
tree08c117070162e8706836690b5a5770332183bff8 /cui
parent79e28f8451ec737e3eb67c99d93d18a2ff923532 (diff)
WaE: unused variable
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/cfgchart.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index f9dfae27000f..4d2cd38a60d7 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -91,13 +91,7 @@ void SvxChartColorTable::replace( size_t _nIndex, const XColorEntry & _rEntry )
DBG_ASSERT( _nIndex <= m_aColorEntries.size(),
"SvxChartColorTable::replace invalid index" );
- Color aCol1 = m_aColorEntries[ _nIndex ].GetColor(), aCol2;
m_aColorEntries[ _nIndex ] = _rEntry;
- aCol2 = m_aColorEntries[ _nIndex ].GetColor();
- if ( aCol2 != const_cast< XColorEntry& >( _rEntry ).GetColor() )
- {
- DBG_ERRORFILE( "wrong color" );
- }
}
void SvxChartColorTable::useDefault()