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

New commits:
commit e4bb46d5d6c60428561e855b8024eb75368cf6bb
Author: Zolnai Tamás <tamas.zol...@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,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to