[Libreoffice-commits] core.git: Branch 'feature/image_rework' - svtools/source

Zolnai Tamás tamas.zolnai at collabora.com
Mon Oct 27 05:59:29 PDT 2014


 svtools/source/graphic/grfmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4bb46d5d6c60428561e855b8024eb75368cf6bb
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Mon Oct 27 13:16:06 2014 +0100

    Call assign graphic data only when graphic actually changed
    
    Change-Id: I2ac81667a587a20917dc1bd613a51f0310f1250c

diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 68c19ab..098e1f6 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -265,8 +265,8 @@ void GraphicObject::ImplAutoSwapIn()
             if( !mbAutoSwapped && mpMgr )
                 mpMgr->ImplGraphicObjectWasSwappedIn( *this );
         }
+        ImplAssignGraphicData();
     }
-    ImplAssignGraphicData();
 }
 
 bool GraphicObject::ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const GraphicAttr* pAttr,


More information about the Libreoffice-commits mailing list