summaryrefslogtreecommitdiff
path: root/chart2
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
commit32381ea5e149fc3d5e2939368837c12127a8bd0a (patch)
tree7d63c512e22a6778fb0bd4131e70b452697285e4 /chart2
parent0a9a91a6c12d5964399eaee45c3c1e612f0e6b7b (diff)
adjust for modified singleton
Diffstat (limited to 'chart2')
-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 3885eee5d20e..f633c990a16c 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();
}