diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-11-07 10:44:20 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-11-07 10:45:17 +0100 |
commit | 554902eac3361c67c6d76e0d7a237d9a16062dfe (patch) | |
tree | e1b5f9d8d9fa65fc764fb5eae5988ca62e4f0feb /include | |
parent | Remove some useless swapping call inside SwGrfNode (diff) | |
download | core-554902eac3361c67c6d76e0d7a237d9a16062dfe.tar.gz core-554902eac3361c67c6d76e0d7a237d9a16062dfe.zip |
Make SdrGrafObj swapping methods private.
Plus remove some useless call of them.
Change the tests accordingly.
Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdograf.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
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; |