diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-27 12:07:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-27 12:43:46 +0000 |
commit | 337e19bf469c0a7a10fabd07fa6ae13f77075e36 (patch) | |
tree | cbbb7c3f05eae32cf028c3009ab8f1b39e2bf5cb /include/sfx2 | |
parent | 40241c2aec0e88cbb51b802bda2db458e14f792f (diff) |
loplugin:expandablemethods in sfx2
Change-Id: I5dcc9e6e7fef210f85a01057ddf59f8de14b847d
Reviewed-on: https://gerrit.libreoffice.org/30320
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 9 | ||||
-rw-r--r-- | include/sfx2/docfile.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/frmdescr.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/objsh.hxx | 5 | ||||
-rw-r--r-- | include/sfx2/opengrf.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/passwd.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/tbxctrl.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/thumbnailview.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/titledockwin.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/viewfrm.hxx | 1 |
10 files changed, 0 insertions, 32 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 1972b9146b0f..9ffbb3370e94 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -115,24 +115,15 @@ public: const css::util::DateTime& getCreationDate() const { return m_CreationDate; } - void setCreationDate(const css::util::DateTime& i_val) { - m_CreationDate = i_val; - } const OUString& getModifiedBy() const { return m_ModifiedBy; } void setModifiedBy(const OUString& i_val) { m_ModifiedBy = i_val; } const css::util::DateTime& getModificationDate() const { return m_ModificationDate; } - void setModificationDate(const css::util::DateTime& i_val) { - m_ModificationDate = i_val; - } const OUString& getPrintedBy() const { return m_PrintedBy; } void setPrintedBy(const OUString& i_val) { m_PrintedBy = i_val; } const css::util::DateTime& getPrintDate() const { return m_PrintDate; } - void setPrintDate(const css::util::DateTime& i_val) { - m_PrintDate = i_val; - } sal_Int16 getEditingCycles() const { return m_EditingCycles; } void setEditingCycles(sal_Int16 i_val) { m_EditingCycles = i_val; } sal_Int32 getEditingDuration() const { return m_EditingDuration; } diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx index 6738786efb59..07cfbe119c5b 100644 --- a/include/sfx2/docfile.hxx +++ b/include/sfx2/docfile.hxx @@ -223,7 +223,6 @@ public: SAL_DLLPRIVATE SvKeyValueIterator* GetHeaderAttributes_Impl(); SAL_DLLPRIVATE void Init_Impl(); - SAL_DLLPRIVATE void ForceSynchronStream_Impl(); SAL_DLLPRIVATE void GetLockingStream_Impl(); SAL_DLLPRIVATE void GetMedium_Impl(); diff --git a/include/sfx2/frmdescr.hxx b/include/sfx2/frmdescr.hxx index 1a792bf5516b..4f09680ab8c0 100644 --- a/include/sfx2/frmdescr.hxx +++ b/include/sfx2/frmdescr.hxx @@ -79,7 +79,6 @@ public: const INetURLObject& GetURL() const { return aURL; } void SetURL( const OUString& rURL ); - void SetActualURL( const INetURLObject& rURL ); void SetActualURL( const OUString& rURL ); void SetReadOnly( bool bSet ) { bReadOnly = bSet;} void SetEditable( bool bSet ); diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 0c4d5b367443..20ec6e3aa830 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -227,10 +227,6 @@ protected: void ModifyChanged(); virtual bool Close() override; - /** declares the document to have capabilities to contain basic/dialog libraries - */ - void SetHasNoBasic(); - /// template method, called by FlushDocInfo; this implementation is empty virtual void DoFlushDocInfo(); @@ -294,7 +290,6 @@ public: bool IsDocShared() const; OUString GetSharedFileURL() const; bool SwitchToShared( bool bShared, bool bSave ); - SAL_DLLPRIVATE void FreeSharedFile(); SAL_DLLPRIVATE void FreeSharedFile( const OUString& aTempFileURL ); SAL_DLLPRIVATE void DoNotCleanShareControlFile(); void SetSharedXMLFlag( bool bFlag ) const; diff --git a/include/sfx2/opengrf.hxx b/include/sfx2/opengrf.hxx index bde7adbdfd19..9533a86f9b20 100644 --- a/include/sfx2/opengrf.hxx +++ b/include/sfx2/opengrf.hxx @@ -33,7 +33,6 @@ public: short Execute(); - void SetPath( const OUString& rPath ); void SetPath( const OUString& rPath, bool bLinkState ); OUString GetPath() const; diff --git a/include/sfx2/passwd.hxx b/include/sfx2/passwd.hxx index 0a256e727c99..1c8984f1b5ac 100644 --- a/include/sfx2/passwd.hxx +++ b/include/sfx2/passwd.hxx @@ -103,10 +103,6 @@ public: { return mpPassword2ED->GetText(); } - OUString GetConfirm2() const - { - return mpConfirm2ED->GetText(); - } void SetGroup2Text(const OUString& i_rText) { mpPassword2Box->set_label(i_rText); diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx index 151b4a2bcf78..dfb40215b584 100644 --- a/include/sfx2/tbxctrl.hxx +++ b/include/sfx2/tbxctrl.hxx @@ -77,8 +77,6 @@ friend class SfxFrameStatusListener; css::uno::Reference< css::lang::XComponent > m_xStatusListener; private: - void GetOrCreateStatusListener(); - SfxPopupWindow(SfxPopupWindow &) = delete; void operator =(SfxPopupWindow &) = delete; void Delete(); @@ -86,7 +84,6 @@ private: protected: virtual void PopupModeEnd() override; virtual bool Close() override; - void DeleteFloatingWindow(); sal_uInt16 GetId() const { return m_nId; } const css::uno::Reference< css::frame::XFrame >& GetFrame() const { return m_xFrame; } diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index d11878270bbc..17bab08a5706 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -279,7 +279,6 @@ protected: virtual void ApplySettings(vcl::RenderContext& rRenderContext) override; - SFX2_DLLPRIVATE void ImplInitScrollBar(); SFX2_DLLPRIVATE void ImplDeleteItems(); SFX2_DLLPRIVATE size_t ImplGetItem( const Point& rPoint ) const; SFX2_DLLPRIVATE ThumbnailViewItem* ImplGetItem( size_t nPos ); diff --git a/include/sfx2/titledockwin.hxx b/include/sfx2/titledockwin.hxx index 1ecf42f61d81..a83de3084d5e 100644 --- a/include/sfx2/titledockwin.hxx +++ b/include/sfx2/titledockwin.hxx @@ -72,12 +72,6 @@ namespace sfx2 */ void impl_resetToolBox(); - /** returns the current title. - - If no title has been set via SetTitle, then the window text (Window::GetText) is returned. - */ - OUString impl_getTitle() const; - private: DECL_LINK( OnToolboxItemSelected, ToolBox*, void ); diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx index 67fdadffec9b..99f5fbc2b651 100644 --- a/include/sfx2/viewfrm.hxx +++ b/include/sfx2/viewfrm.hxx @@ -197,7 +197,6 @@ public: SAL_DLLPRIVATE void LockObjectShell_Impl(); SAL_DLLPRIVATE void MakeActive_Impl( bool bActivate ); - SAL_DLLPRIVATE void SetQuietMode_Impl( bool ); SAL_DLLPRIVATE const Size& GetMargin_Impl() const; SAL_DLLPRIVATE void SetActiveChildFrame_Impl( SfxViewFrame* ); SAL_DLLPRIVATE SfxViewFrame* GetActiveChildFrame_Impl() const; |