[Libreoffice-commits] core.git: chart2/source

Stephan Bergmann sbergman at redhat.com
Mon May 14 13:22:15 UTC 2018


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

New commits:
commit 2bd48ad3bc29b008d756612307d3e72021bc3cbf
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon May 14 15:21:49 2018 +0200

    loplugin:redundantfcast
    
    Change-Id: I412eb9530e4b10281c505c07f0c18a4220e2cba9

diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 725bb30a22f6..49581374374e 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();
             }
         }
 


More information about the Libreoffice-commits mailing list