diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-09 15:28:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-10 08:44:23 +0200 |
commit | d913b7d2d8f5d8caf69b80274c58d7e27d207a0d (patch) | |
tree | 84184fcafcb017dcf983cddb3f1f81661f891977 /include | |
parent | 3edfbb0885f8f9b18074d42e16539436077631ef (diff) |
loplugin:unusedmethods
Change-Id: I6f976ba8f792d2cee34859e9258798351eed8b1d
Reviewed-on: https://gerrit.libreoffice.org/52636
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/embeddedobjectcontainer.hxx | 3 | ||||
-rw-r--r-- | include/editeng/outliner.hxx | 2 | ||||
-rw-r--r-- | include/svtools/inettbc.hxx | 15 | ||||
-rw-r--r-- | include/svx/svdlayer.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdoole2.hxx | 1 | ||||
-rw-r--r-- | include/svx/unomaster.hxx | 2 |
6 files changed, 0 insertions, 24 deletions
diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx index 8abea504d7bd..466cb49ebede 100644 --- a/include/comphelper/embeddedobjectcontainer.hxx +++ b/include/comphelper/embeddedobjectcontainer.hxx @@ -129,9 +129,6 @@ public: EmbeddedObjectContainer& rSrc, const css::uno::Reference <css::embed::XEmbeddedObject>& xObj, OUString& rName, const OUString& rSrcShellID, const OUString& rDestShellID ); - // move an embedded object from one container to another one - void MoveEmbeddedObject( EmbeddedObjectContainer& rSrc, const css::uno::Reference < css::embed::XEmbeddedObject >&, OUString& ); - // remove an embedded object from the container and from the storage; if object can't be closed // #i119941, bKeepToTempStorage: use to specify whether store the removed object to temporary storage+ void RemoveEmbeddedObject( const OUString& rName, bool bKeepToTempStorage = true); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index ee856b9e6b35..6f9c67132c7c 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -930,9 +930,7 @@ public: OutputDevice* GetRefDevice() const; sal_uLong GetTextHeight() const; - sal_uLong GetTextHeight( sal_Int32 nParagraph ) const; tools::Rectangle GetParaBounds( sal_Int32 nParagraph ) const; - Point GetDocPosTopLeft( sal_Int32 nParagraph ); Point GetDocPos( const Point& rPaperPos ) const; bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder ); bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder, bool* pbBulletPos ); diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index 133978045054..46debbb9fafb 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -108,7 +108,6 @@ class SVT_DLLPUBLIC URLBox std::unique_ptr<weld::ComboBoxText> m_xWidget; - SVT_DLLPRIVATE bool ProcessKey( const vcl::KeyCode& rCode ); DECL_DLLPRIVATE_LINK( TryAutoComplete, Timer*, void); SVT_DLLPRIVATE void UpdatePicklistForSmartProtocol_Impl(); DECL_DLLPRIVATE_LINK( ChangedHdl, weld::ComboBoxText&, void); @@ -124,27 +123,13 @@ public: void Clear() { m_xWidget->clear(); } void connect_entry_activate(const Link<weld::ComboBoxText&, void>& rLink) { m_xWidget->connect_entry_activate(rLink); } void append_text(const OUString& rStr) { m_xWidget->append_text(rStr); } - OUString get_text(int nIndex) { return m_xWidget->get_text(nIndex); } - void select_entry_region(int nStartPos, int nEndPos) { m_xWidget->select_entry_region(nStartPos, nEndPos); } void EnableAutocomplete() { m_xWidget->set_entry_completion(true); } - void SetBaseURL( const OUString& rURL ); - const OUString& GetBaseURL() const { return aBaseURL; } - void SetOnlyDirectories( bool bDir ); INetProtocol GetSmartProtocol() const { return eSmartProtocol; } - void SetSmartProtocol( INetProtocol eProt ); OUString GetURL(); - void DisableHistory(); - - void UpdatePickList( ); static OUString ParseSmart( const OUString& aText, const OUString& aBaseURL ); - void SetFilter(const OUString& _sFilter); - - void SetPlaceHolder( const OUString& sPlaceHolder ) - { aPlaceHolder = sPlaceHolder; } - const OUString& GetPlaceHolder() { return aPlaceHolder; } bool MatchesPlaceHolder( const OUString& sToMatch ) const { return ( !aPlaceHolder.isEmpty() ) && ( aPlaceHolder == sToMatch ); } }; diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx index 1a60d8b24946..36fa08a1a105 100644 --- a/include/svx/svdlayer.hxx +++ b/include/svx/svdlayer.hxx @@ -114,7 +114,6 @@ public: SdrLayerAdmin(const SdrLayerAdmin& rSrcLayerAdmin); ~SdrLayerAdmin(); SdrLayerAdmin& operator=(const SdrLayerAdmin& rSrcLayerAdmin); - void SetParent(SdrLayerAdmin* pNewParent) { pParent=pNewParent; } void SetModel(SdrModel* pNewModel); void InsertLayer(SdrLayer* pLayer, sal_uInt16 nPos) { diff --git a/include/svx/svdoole2.hxx b/include/svx/svdoole2.hxx index b170f6ac6d03..6122eef9c5dc 100644 --- a/include/svx/svdoole2.hxx +++ b/include/svx/svdoole2.hxx @@ -51,7 +51,6 @@ private: private: SVX_DLLPRIVATE void Connect_Impl(); SVX_DLLPRIVATE void Disconnect_Impl(); - SVX_DLLPRIVATE void Reconnect_Impl(); SVX_DLLPRIVATE void AddListeners_Impl(); SVX_DLLPRIVATE void RemoveListeners_Impl(); SVX_DLLPRIVATE void GetObjRef_Impl(); diff --git a/include/svx/unomaster.hxx b/include/svx/unomaster.hxx index 42c801f5e920..dad729df9ce3 100644 --- a/include/svx/unomaster.hxx +++ b/include/svx/unomaster.hxx @@ -67,8 +67,6 @@ public: virtual void dispose() = 0; - virtual void modelChanged( SdrModel* pNewModel ) = 0; - protected: ~SvxShapeMaster() {} }; |