[Libreoffice-commits] core.git: svtools/source
Caolán McNamara
caolanm at redhat.com
Tue Jan 10 12:54:24 UTC 2017
svtools/source/graphic/grfmgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bd5ec81c78df81fb85a036d07cc4d60d01575fd0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jan 9 16:06:47 2017 +0000
mpGlobalMgr is the only manager possible
Change-Id: Ic7e20c9c198cfdab73647b009af3e269aabf680f
Reviewed-on: https://gerrit.libreoffice.org/32898
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 003063d..3ca4c73 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;
More information about the Libreoffice-commits
mailing list