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

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Fri Mar 16 08:53:44 UTC 2018


 include/vcl/GraphicObject.hxx        |    1 -
 vcl/source/graphic/GraphicObject.cxx |   16 ----------------
 2 files changed, 17 deletions(-)

New commits:
commit 24546ac5ea1d58d7cbd07d093b99c9ab07406b00
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Thu Mar 15 20:31:37 2018 +0900

    remove constructor with UniqueID from GraphicObject
    
    Change-Id: I03924c993a95adaf6e19589779546fce2b38c745
    Reviewed-on: https://gerrit.libreoffice.org/51333
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/include/vcl/GraphicObject.hxx b/include/vcl/GraphicObject.hxx
index 877df26f9289..fbd063687e34 100644
--- a/include/vcl/GraphicObject.hxx
+++ b/include/vcl/GraphicObject.hxx
@@ -317,7 +317,6 @@ public:
                             GraphicObject();
                             GraphicObject( const Graphic& rGraphic );
                             GraphicObject( const GraphicObject& rCacheObj );
-                            explicit GraphicObject( const OString& rUniqueID );
                             ~GraphicObject();
 
     GraphicObject&          operator=( const GraphicObject& rCacheObj );
diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx
index aa8465c76b26..b67ad659e8e1 100644
--- a/vcl/source/graphic/GraphicObject.cxx
+++ b/vcl/source/graphic/GraphicObject.cxx
@@ -157,22 +157,6 @@ GraphicObject::GraphicObject(const GraphicObject& rGraphicObj)
         SetSwapState();
 }
 
-GraphicObject::GraphicObject(const OString& rUniqueID)
-    : mbAutoSwapped(false)
-    , mbIsInSwapIn(false)
-    , mbIsInSwapOut(false)
-{
-    ImplEnsureGraphicManager();
-
-    // assign default properties
-    ImplAssignGraphicData();
-
-    mpGlobalMgr->ImplRegisterObj(*this, maGraphic, &rUniqueID, nullptr);
-
-    // update properties
-    ImplAssignGraphicData();
-}
-
 GraphicObject::~GraphicObject()
 {
     mpGlobalMgr->ImplUnregisterObj( *this );


More information about the Libreoffice-commits mailing list