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

Zolnai Tamás tamas.zolnai at collabora.com
Wed Dec 3 14:56:02 PST 2014


 include/svtools/grfmgr.hxx     |    1 +
 svx/source/svdraw/svdograf.cxx |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 02b17c1bbdd19a978b9de646c0dacdad179c60de
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Wed Dec 3 20:50:24 2014 +0100

    Linked graphic is not displayed
    
    Regression from:
    17475638138c92162be1c0f34cf1f9cc95c63579
    
    Change-Id: Ie2d484fbe065c24d19938c8c9c68818bd1076f2d

diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 2bdbc9a..234ec9a 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -157,6 +157,7 @@ public:
 class SVT_DLLPUBLIC GraphicObject : public SvDataCopyStream
 {
     friend class GraphicManager;
+    friend class SdrGrafObj;
 
 private:
 
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 8dbb3c4..a353e0f 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -624,6 +624,7 @@ void SdrGrafObj::SetGraphicLink(const OUString& rFileName, const OUString& rRefe
     aFilterName = rFilterName;
     ImpLinkAnmeldung();
     pGraphic->SetUserData();
+    pGraphic->SetSwapState();
 }
 
 void SdrGrafObj::ReleaseGraphicLink()


More information about the Libreoffice-commits mailing list