diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-09 16:06:47 +0000 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-11-28 00:13:22 -0500 |
commit | 64882d474fbd651f144cb8e9c4d6b53ad57c85fb (patch) | |
tree | 772ac91e64ad1d93523e97fd16adba2cf1711145 | |
parent | 4c13d773bf597fc31f97cdd6fdd6085d6aec44b6 (diff) |
mpGlobalMgr is the only manager possible
Change-Id: Ic7e20c9c198cfdab73647b009af3e269aabf680f
Reviewed-on: https://gerrit.libreoffice.org/32898
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit bd5ec81c78df81fb85a036d07cc4d60d01575fd0)
-rw-r--r-- | svtools/source/graphic/grfmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx index 003063d7c0a6..3ca4c73c950e 100644 --- a/svtools/source/graphic/grfmgr.cxx +++ b/svtools/source/graphic/grfmgr.cxx @@ -128,7 +128,7 @@ GraphicObject::~GraphicObject() { mpMgr->ImplUnregisterObj( *this ); - if( ( mpMgr == mpGlobalMgr ) && !mpGlobalMgr->ImplHasObjects() ) + if (!mpGlobalMgr->ImplHasObjects()) { delete mpGlobalMgr; mpGlobalMgr = nullptr; |