diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 09:08:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 09:01:00 +0100 |
commit | 162f85283699692c5adf07e5b292979688bded93 (patch) | |
tree | b0aaebec113e69770b861d39b06ff64af4b278b0 /include | |
parent | 1129c848b360bd76174c941bb8fd98bfa5b9119c (diff) |
loplugin:unusedmethods
Change-Id: I65354c7476dfaede1a607441d7c1b0c7ad038df4
Reviewed-on: https://gerrit.libreoffice.org/82186
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/basedlgs.hxx | 5 | ||||
-rw-r--r-- | include/svtools/imagemgr.hxx | 1 | ||||
-rw-r--r-- | include/svtools/inettbc.hxx | 5 | ||||
-rw-r--r-- | include/vcl/EnumContext.hxx | 3 | ||||
-rw-r--r-- | include/vcl/builder.hxx | 1 | ||||
-rw-r--r-- | include/vcl/dialog.hxx | 9 | ||||
-rw-r--r-- | include/vcl/lstbox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/svtabbx.hxx | 2 | ||||
-rw-r--r-- | include/vcl/treelistbox.hxx | 4 | ||||
-rw-r--r-- | include/vcl/window.hxx | 3 |
10 files changed, 0 insertions, 35 deletions
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 200cea5c40e5..fedaa598109c 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -99,11 +99,6 @@ protected: SfxChildWindow *pCW, vcl::Window* pParent, WinBits nWinBits); - SfxFloatingWindow( SfxBindings *pBindings, - SfxChildWindow *pCW, - vcl::Window* pParent, - const OString& rID, const OUString& rUIXMLDescription, - const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>()); virtual ~SfxFloatingWindow() override; virtual void dispose() override; diff --git a/include/svtools/imagemgr.hxx b/include/svtools/imagemgr.hxx index 0eb8b5e96f00..ec530e2f3d41 100644 --- a/include/svtools/imagemgr.hxx +++ b/include/svtools/imagemgr.hxx @@ -125,7 +125,6 @@ public: SVT_DLLPUBLIC static Image GetFileImage( const INetURLObject& rURL ); SVT_DLLPUBLIC static Image GetImageNoDefault(const INetURLObject& rURL, bool bBig = false, Size const & rPreferredSize = Size()); SVT_DLLPUBLIC static OUString GetFolderImageId( const svtools::VolumeInfo& rInfo ); - SVT_DLLPUBLIC static Image GetFolderImage( const svtools::VolumeInfo& rInfo ); SVT_DLLPUBLIC static OUString GetDescription( const INetURLObject& rObject ); SVT_DLLPUBLIC static OUString GetFileDescription( const INetURLObject& rObject ); diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index c6c3b03137dd..62e4cf167f1b 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -65,12 +65,9 @@ public: virtual ~SvtURLBox() override; virtual void dispose() override; - void SetBaseURL( const OUString& rURL ); const OUString& GetBaseURL() const { return aBaseURL; } void SetOpenHdl( const Link<SvtURLBox*,void>& rLink ) { aOpenHdl = rLink; } const Link<SvtURLBox*,void>& GetOpenHdl() const { return aOpenHdl; } - void SetOnlyDirectories( bool bDir ); - void SetNoURLSelection( bool bSet ); INetProtocol GetSmartProtocol() const { return eSmartProtocol; } OUString GetURL(); void DisableHistory(); @@ -79,8 +76,6 @@ public: static OUString ParseSmart( const OUString& aText, const OUString& aBaseURL ); - void EnableAutocompletion( bool _bEnable ) - { bIsAutoCompleteEnabled = _bEnable; } void SetPlaceHolder( const OUString& sPlaceHolder ) { aPlaceHolder = sPlaceHolder; } const OUString& GetPlaceHolder() const { return aPlaceHolder; } diff --git a/include/vcl/EnumContext.hxx b/include/vcl/EnumContext.hxx index f5b7ddebfde9..1c68e1b6f014 100644 --- a/include/vcl/EnumContext.hxx +++ b/include/vcl/EnumContext.hxx @@ -115,9 +115,6 @@ public: EnumContext ( const Application eApplication, const Context eContext); - EnumContext ( - const OUString& rsApplicationName, - const OUString& rsContextName); /** This variant of the GetCombinedContext() method treats some application names as identical to each other. Replacements diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index 488ebb6389d7..e82ed12e2fd4 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -472,7 +472,6 @@ public: void disposeBuilder(); static OUString getUIRootDir(); - bool hasBuilder() const { return m_pUIBuilder != nullptr; } template <typename T> T* get(VclPtr<T>& ret, const OString& sID) { diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index 14c32a800291..0645ebb434cf 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -125,15 +125,6 @@ private: void ImplSetModalInputMode(bool bModal); public: - /// Returns true if the dialog successfully starts - bool StartExecuteAsync(const std::function<void(sal_Int32)> &rEndDialogFn) - { - VclAbstractDialog::AsyncContext aCtx; - aCtx.mxOwner = this; - aCtx.maEndDialogFn = rEndDialogFn; - return StartExecuteAsync(aCtx); - } - /// Commence execution of a modal dialog, disposes owner on failure bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx); diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index 3124454f922b..4ff5cf071790 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -149,8 +149,6 @@ public: void EnableAutoSize( bool bAuto ); bool IsAutoSizeEnabled() const { return mbDDAutoSize; } - void EnableDDAutoWidth( bool b ); - sal_Int32 InsertEntry( const OUString& rStr, sal_Int32 nPos = LISTBOX_APPEND ); sal_Int32 InsertEntry( const OUString& rStr, const Image& rImage, sal_Int32 nPos = LISTBOX_APPEND ); void RemoveEntry( const OUString& rStr ); diff --git a/include/vcl/svtabbx.hxx b/include/vcl/svtabbx.hxx index bec86aa8c9ba..fda6c2a28c35 100644 --- a/include/vcl/svtabbx.hxx +++ b/include/vcl/svtabbx.hxx @@ -138,8 +138,6 @@ public: sal_uLong nPos = TREELIST_APPEND, sal_uInt16 nCol = 0xffff, void* pUserData = nullptr ) override; virtual sal_uLong Insert( SvTreeListEntry* pEnt,SvTreeListEntry* pPar,sal_uLong nPos=TREELIST_APPEND) override; virtual sal_uLong Insert( SvTreeListEntry* pEntry, sal_uLong nRootPos = TREELIST_APPEND ) override; - void RemoveEntry( SvTreeListEntry const * _pEntry ); - void Clear(); // Accessible ------------------------------------------------------------- diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index 37ee71a9e56e..0f47b402dc91 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -383,7 +383,6 @@ public: bool IsInplaceEditingEnabled() const { return bool(nImpFlags & SvTreeListBoxFlags::EDT_ENABLED); } bool IsEditingActive() const { return bool(nImpFlags & SvTreeListBoxFlags::IN_EDT); } void EndEditing( bool bCancel = false ); - void ForbidEmptyText(); void Clear(); @@ -482,9 +481,6 @@ public: @return The bounding rectangle of an entry. */ tools::Rectangle GetBoundingRect( SvTreeListEntry* pEntry ); - /** Enables, that one cell of a tablistbox entry can be focused */ - void EnableCellFocus(); - SvTreeFlags GetTreeFlags() const {return nTreeFlags;} static OUString SearchEntryTextWithHeadTitle(SvTreeListEntry* pEntry); diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 855ca478187c..c0381b8c75c9 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -1208,9 +1208,6 @@ public: /// Dumps itself and potentially its children to a property tree, to be written easily to JSON. virtual boost::property_tree::ptree DumpAsPropertyTree(); - /// Dialog / window tunneling related methods. - Size PaintActiveFloatingWindow(VirtualDevice& rDevice) const; - /// Same as MouseButtonDown(), but coordinates are in logic unit. used for LOK virtual void LogicMouseButtonDown(const MouseEvent&) {}; /// Same as MouseButtonUp(), but coordinates are in logic unit. used for LOK |