diff options
Diffstat (limited to 'cui/source/options/optchart.cxx')
-rw-r--r-- | cui/source/options/optchart.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx index 38a9d4704ece..7c668a36aaf4 100644 --- a/cui/source/options/optchart.cxx +++ b/cui/source/options/optchart.cxx @@ -149,7 +149,7 @@ void SvxDefaultColorOptPage::FillColorBox() for( long i = 0; i < nCount; i++ ) { - XColorEntry* pColorEntry = pColorList->GetColor( i ); + const XColorEntry* pColorEntry = pColorList->GetColor(i); m_pValSetColorBox->InsertItem( i + 1, pColorEntry->GetColor(), pColorEntry->GetName() ); } } @@ -163,7 +163,7 @@ long SvxDefaultColorOptPage::GetColorIndex( const Color& rCol ) for( long i = nCount - 1; i >= 0; i-- ) // default chart colors are at the end of the table { - XColorEntry* pColorEntry = pColorList->GetColor( i ); + const XColorEntry* pColorEntry = pColorList->GetColor(i); if( pColorEntry && pColorEntry->GetColor() == rCol ) return pColorList->GetIndex( pColorEntry->GetName() ); } |