From 61a5abd5fab308c9e6580e752fa846f5bf0d7e51 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Fri, 7 Nov 2014 10:43:34 +0100 Subject: Make SwGrfNode swapping methods private Change the filter test accordingly. Change-Id: Ide3043f2f245c097a7b4c07ba2e0713510296b3e --- sw/inc/ndgrf.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sw/inc') 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) -- cgit