summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-17 10:03:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:21:50 +0100
commitcaf9aba1f200b6f2adeca9c933e32747139e7853 (patch)
tree0bfde09dbaf71ec78de8771eb3fac34fe825e627
parentdb61126356b89db63d54b7f76b33008c5e7177ce (diff)
adjust for modified singleton
-rw-r--r--chart2/source/controller/main/ShapeController.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx
index 5c8dccb61..4e54097de 100644
--- a/chart2/source/controller/main/ShapeController.cxx
+++ b/chart2/source/controller/main/ShapeController.cxx
@@ -328,7 +328,7 @@ void ShapeController::executeDispatch_FormatArea()
SfxItemPool& rItemPool = pDrawViewWrapper->GetModel()->GetItemPool();
SfxItemSet aSet( rItemPool, rItemPool.GetFirstWhich(), rItemPool.GetLastWhich() );
const SvxColorTableItem* pColorItem = static_cast< const SvxColorTableItem* >( aSet.GetItem( SID_COLOR_TABLE ) );
- if ( pColorItem && pColorItem->GetColorTable() == XColorTable::GetStdColorTable() )
+ if ( pColorItem && pColorItem->GetColorTable() == &XColorTable::GetStdColorTable() )
{
pDlg->DontDeleteColorTable();
}