summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-03-15 20:31:37 +0900
committerTomaž Vajngerl <quikee@gmail.com>2018-03-16 09:53:15 +0100
commit24546ac5ea1d58d7cbd07d093b99c9ab07406b00 (patch)
tree754621c9d5c13b884cab7e80ac929834c0bade67 /vcl
parentf4facca39726c7a8d43ced8f4d88d58aa116c443 (diff)
remove constructor with UniqueID from GraphicObject
Change-Id: I03924c993a95adaf6e19589779546fce2b38c745 Reviewed-on: https://gerrit.libreoffice.org/51333 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/graphic/GraphicObject.cxx16
1 files changed, 0 insertions, 16 deletions
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 );