summaryrefslogtreecommitdiff
path: root/sw/inc/ndgrf.hxx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 10:43:34 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-11-07 10:45:17 +0100
commit61a5abd5fab308c9e6580e752fa846f5bf0d7e51 (patch)
tree534c3d2bedc77357a8a88423a956c1b97d62d256 /sw/inc/ndgrf.hxx
parent398b3092d1545163e2013ed40d4d7fbe03f71907 (diff)
Make SwGrfNode swapping methods private
Change the filter test accordingly. Change-Id: Ide3043f2f245c097a7b4c07ba2e0713510296b3e
Diffstat (limited to 'sw/inc/ndgrf.hxx')
-rw-r--r--sw/inc/ndgrf.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index 5a2dcbd5a283..f8f9e46a71a8 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -169,10 +169,13 @@ public:
const Graphic* pGraphic = 0,
const GraphicObject* pGrfObj = 0,
bool bModify = true );
+private:
/// Loading of graphic immediately before displaying.
bool SwapIn( bool bWaitForData = false );
/// Remove graphic in order to free memory.
bool SwapOut();
+
+public:
bool HasEmbeddedStreamName() const { return maGrfObj.HasUserData(); }
/// applying new stream name for embedded graphic - needed as saving the document might change this stream name
void ApplyNewEmbeddedStreamName(const OUString& r)