diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-20 13:39:38 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-04-21 04:12:04 +0200 |
commit | 94acabe8d0cb555e76635c4bceeb48a14bd16a2b (patch) | |
tree | 5342dac802e5ae009c12734bb2d23e482a6166f1 /sw/inc/ndgrf.hxx | |
parent | 9374352f242d2dcfd39a3a6f0504efbaf1abb2dc (diff) |
loplugin:unusedmethods
Change-Id: I9dc6e81149eae3ba2284fa7fe608dd9252503dce
Reviewed-on: https://gerrit.libreoffice.org/53197
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw/inc/ndgrf.hxx')
-rw-r--r-- | sw/inc/ndgrf.hxx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx index 98480259db0d..cadf0ef7d1f4 100644 --- a/sw/inc/ndgrf.hxx +++ b/sw/inc/ndgrf.hxx @@ -68,50 +68,10 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTextNode SwAttrSet const * pAutoAttr ); void InsertLink( const OUString& rGrfName, const OUString& rFltName ); - bool ImportGraphic( SvStream& rStrm ); DECL_LINK( SwapGraphic, const GraphicObject*, SvStream* ); DECL_STATIC_LINK( SwGrfNode, SwapReplacement, const GraphicObject*, SvStream* ); - /** helper method to determine stream for the embedded graphic. - - Important note: caller of this method has to handle the thrown exceptions - Storage, which should contain the stream of the embedded graphic, is - provided via parameter. Otherwise the returned stream will be closed - after the method returns, because its parent stream is closed and deleted. - Proposed name of embedded graphic stream is also provided by parameter. - - @author OD - - @param _refPics - input parameter - reference to storage, which should contain the - embedded graphic stream. - - @param rStrmName - input parameter - proposed name of the embedded graphic stream. - - @return SvStream* - new created stream of the embedded graphic, which has to be destroyed - after its usage. Could be NULL, if the stream isn't found. - */ - SvStream* GetStreamForEmbedGrf( - const css::uno::Reference< css::embed::XStorage >& _refPics, - const OUString& rStreamName ) const; - - /** helper method to get a substorage of the document storage for readonly access. - - A substorage with the specified name will be opened readonly. If the provided - name is empty the root storage will be returned. - - @param _aStgName - input parameter - name of substorage. Can be empty. - - @return XStorage - reference to substorage or the root storage - */ - css::uno::Reference< css::embed::XStorage > GetDocSubstorageOrRoot( - const OUString& aStgName ) const; - /// allow reaction on change of content of GraphicObject, so always call /// when GraphicObject content changes void onGraphicChanged(); @@ -171,9 +131,6 @@ private: public: bool HasEmbeddedStreamName() const { return maGrfObj.HasUserData(); } - /// Is this node selected by any shell? - bool IsSelected() const; - /// Communicate to graphic that node is in Undo-range. virtual bool SavePersistentData() override; virtual bool RestorePersistentData() override; |