From 554902eac3361c67c6d76e0d7a237d9a16062dfe Mon Sep 17 00:00:00 2001 From: Zolnai Tamás <tamas.zolnai@collabora.com> Date: Fri, 7 Nov 2014 10:44:20 +0100 Subject: Make SdrGrafObj swapping methods private. Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497 --- include/svx/svdograf.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/svx/svdograf.hxx') diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index cd47a2075f6c..d6cb3d2e16e8 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -69,6 +69,7 @@ private: // to allow sdr::contact::ViewObjectContactOfGraphic access to ImpUpdateGraphicLink() friend class sdr::contact::ViewObjectContactOfGraphic; + friend class SdrExchangeView; // Only for a ForceSwapIn() call. friend class SdrGraphicLink; private: @@ -135,9 +136,11 @@ public: void SetGrafStreamURL( const OUString& rGraphicStreamURL ); OUString GetGrafStreamURL() const; +private: void ForceSwapIn() const; void ForceSwapOut() const; +public: void SetGraphicLink(const OUString& rFileName, const OUString& rReferer, const OUString& rFilterName); void ReleaseGraphicLink(); bool IsLinkedGraphic() const; -- cgit