loplugin:redundantfcast

Change-Id: I412eb9530e4b10281c505c07f0c18a4220e2cba9
diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 725bb30..4958137 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
@@ -195,7 +195,7 @@ GraphicObject getXBitmapFromName(const css::uno::Reference<css::frame::XModel>& 

            if (pBitmap->GetName().equalsIgnoreAsciiCase(rName))
            {
                return GraphicObject(pBitmap->GetGraphicObject());
                return pBitmap->GetGraphicObject();
            }
        }