[Libreoffice-commits] .: chart2/source

Michael Meeks michael at kemper.freedesktop.org
Mon Sep 26 01:22:00 PDT 2011


 chart2/source/controller/main/ShapeController.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit d24e2842319231d3ab6da27cfddb90e75baba269
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Mon Sep 26 09:20:40 2011 +0100

    remove obsolete ColorTable lifecycle workaround

diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx
index 138db4f..ec18833 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();


More information about the Libreoffice-commits mailing list