diff options
-rw-r--r-- | include/svtools/grfmgr.hxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index 2bdbc9a1c24d..234ec9a844e0 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 8dbb3c4f04ee..a353e0f9fd66 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() |