summaryrefslogtreecommitdiff
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
commit6aaddb126fec8bc8a2cf3932b463464146dee87d (patch)
treef88d267b2d652261168ad81442be132b9e0a73b0
parentae8037bdc2911c14ebb9067ce55e16d2ec9bf13c (diff)
WaE: unused variable
-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 f9dfae270..4d2cd38a6 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()