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

Caolán McNamara caolanm at redhat.com
Tue Jan 10 12:18:46 UTC 2017


 svtools/source/graphic/grfmgr.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit f0ab4138ca30690c4779c6a440826de3bd6fc8e7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jan 9 16:01:41 2017 +0000

    ImplSetGraphicManager only called from ctors now where mpMgr is nullptr
    
    Change-Id: Ib275f4c803d74eaf45409e78a6c786dac159af6b

diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 2682e95..9c5b89f 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -163,9 +163,6 @@ void GraphicObject::ImplAssignGraphicData()
 
 void GraphicObject::ImplSetGraphicManager(const OString* pID, const GraphicObject* pCopyObj)
 {
-    if (mpMgr)
-        return;
-
     if (!mpGlobalMgr)
     {
         if (!utl::ConfigManager::IsAvoidConfig())


More information about the Libreoffice-commits mailing list