summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 10:44:20 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 10:45:17 +0100
commit554902eac3361c67c6d76e0d7a237d9a16062dfe (patch)
treee1b5f9d8d9fa65fc764fb5eae5988ca62e4f0feb /include/svx
parent9dc3b49c891fb9fe45c24de4b7e1e88fe400afe0 (diff)
Make SdrGrafObj swapping methods private.
Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdograf.hxx3
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;