chart2/source/controller/sidebar/ChartAreaPanel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1275e972b2d634c70fbe3acf5e2d90cd5c438e58
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon Mar 12 11:22:03 2018 +0100

    loplugin:redundantfcast
    
    Change-Id: I54cbc12b9eeb5bd6e405765836436611326b4d8f

diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx 
b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 0423aca7e8d1..907840adcae2 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
@@ -191,7 +191,7 @@ GraphicObject getXBitmapFromName(const 
css::uno::Reference<css::frame::XModel>&
 
             if (pBitmap->GetName().equalsIgnoreAsciiCase(rName))
             {
-                return GraphicObject(pBitmap->GetGraphicObject());
+                return pBitmap->GetGraphicObject();
             }
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to