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

Caolán McNamara caolanm at redhat.com
Thu Apr 12 14:05:44 UTC 2018


 vcl/source/graphic/GraphicObject.cxx |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 9f60e0b40cd272e77db4a265ef629454748d1430
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 12 09:07:51 2018 +0100

    coverity#1434219 Uncaught exception
    
    Change-Id: I97b0d4fb6c16373364a43b60b67a27e2eb27bd48
    Reviewed-on: https://gerrit.libreoffice.org/52757
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx
index 3cb54a70c6c6..b3f6a52f6b0b 100644
--- a/vcl/source/graphic/GraphicObject.cxx
+++ b/vcl/source/graphic/GraphicObject.cxx
@@ -315,10 +315,16 @@ GraphicObject::GraphicObject(const Graphic& rGraphic)
 GraphicObject::GraphicObject(const GraphicObject& rGraphicObj)
     : maGraphic(rGraphicObj.GetGraphic())
     , maAttr(rGraphicObj.maAttr)
+    , maPrefSize(rGraphicObj.maPrefSize)
     , maPrefMapMode(rGraphicObj.maPrefMapMode)
+    , mnSizeBytes(rGraphicObj.mnSizeBytes)
+    , meType(rGraphicObj.meType)
     , maUserData(rGraphicObj.maUserData)
+    , mnAnimationLoopCount(rGraphicObj.mnAnimationLoopCount)
+    , mbTransparent(rGraphicObj.mbTransparent)
+    , mbAnimated(rGraphicObj.mbAnimated)
+    , mbEPS(rGraphicObj.mbEPS)
 {
-    ImplAssignGraphicData();
 }
 
 GraphicObject::~GraphicObject()


More information about the Libreoffice-commits mailing list