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

Stephan Bergmann sbergman at redhat.com
Mon Mar 12 10:22:33 UTC 2018


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

New commits:
commit 1275e972b2d634c70fbe3acf5e2d90cd5c438e58
Author: Stephan Bergmann <sbergman at 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();
             }
         }
     }


More information about the Libreoffice-commits mailing list