From d24e2842319231d3ab6da27cfddb90e75baba269 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 26 Sep 2011 09:20:40 +0100 Subject: remove obsolete ColorTable lifecycle workaround --- chart2/source/controller/main/ShapeController.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx index 138db4f74be9..ec1883318271 100644 --- a/chart2/source/controller/main/ShapeController.cxx +++ b/chart2/source/controller/main/ShapeController.cxx @@ -327,8 +327,6 @@ void ShapeController::executeDispatch_FormatArea() { SfxItemPool& rItemPool = pDrawViewWrapper->GetModel()->GetItemPool(); SfxItemSet aSet( rItemPool, rItemPool.GetFirstWhich(), rItemPool.GetLastWhich() ); - const SvxColorListItem* pColorItem = static_cast< const SvxColorListItem* >( aSet.GetItem( SID_COLOR_TABLE ) ); - (void)pColorItem; /* FIXME hide a WaE but the real cause for it should be settled */ if ( pDlg->Execute() == RET_OK ) { const SfxItemSet* pOutAttr = pDlg->GetOutputItemSet(); -- cgit