diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-15 15:13:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-16 05:48:12 +0000 |
commit | b7f9a397fbf8459d166d7bb961d5d8c2c87a0868 (patch) | |
tree | 7991b4d6a75db21a2261e461108d0f44e858f992 /sfx2/source/inc | |
parent | 4ca2cf1b7e57c823e911bcbae0c87102a7c9851e (diff) |
loplugin:unusedmethods sfx2(part2)
Change-Id: I82223b72ddb6a9df1ee52a300b083002234602dc
Reviewed-on: https://gerrit.libreoffice.org/17075
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r-- | sfx2/source/inc/docundomanager.hxx | 9 | ||||
-rw-r--r-- | sfx2/source/inc/partwnd.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/inc/sfxpicklist.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/slotserv.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/inc/splitwin.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/inc/statcach.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 27 | ||||
-rw-r--r-- | sfx2/source/inc/versdlg.hxx | 6 |
8 files changed, 3 insertions, 48 deletions
diff --git a/sfx2/source/inc/docundomanager.hxx b/sfx2/source/inc/docundomanager.hxx index f970bed57d71..81c966707921 100644 --- a/sfx2/source/inc/docundomanager.hxx +++ b/sfx2/source/inc/docundomanager.hxx @@ -54,14 +54,10 @@ protected: void acquireModel() { m_rModel.acquire(); } void releaseModel() { m_rModel.release(); } - bool isDisposed() const { return m_rModel.IsDisposed(); } - protected: const SfxBaseModel& getBaseModel() const { return m_rModel; } SfxBaseModel& getBaseModel() { return m_rModel; } - ::osl::Mutex& getMutex() { return m_rModel.getMutex(); } - private: SfxBaseModel& m_rModel; }; @@ -91,11 +87,6 @@ public: { } - void reset() - { - m_aGuard.reset(); - } - void clear() { m_aGuard.clear(); diff --git a/sfx2/source/inc/partwnd.hxx b/sfx2/source/inc/partwnd.hxx index b81a88fd084c..c3c1bfdfae6b 100644 --- a/sfx2/source/inc/partwnd.hxx +++ b/sfx2/source/inc/partwnd.hxx @@ -71,7 +71,6 @@ public: bool QueryClose(); virtual void FillInfo(SfxChildWinInfo&) const SAL_OVERRIDE; - ::com::sun::star::uno::Reference < ::com::sun::star::frame::XFrame > ForgetFrame(); }; #endif diff --git a/sfx2/source/inc/sfxpicklist.hxx b/sfx2/source/inc/sfxpicklist.hxx index 502492c0e61f..ca228616c355 100644 --- a/sfx2/source/inc/sfxpicklist.hxx +++ b/sfx2/source/inc/sfxpicklist.hxx @@ -64,8 +64,6 @@ class SfxPickList : public SfxListener static SfxPickList& Get(); static void ensure() { Get(); } - sal_uInt32 GetAllowedMenuSize() { return m_nAllowedMenuSize; } - sal_uInt32 GetNumOfEntries() const { return m_aPicklistVector.size(); } void CreateMenuEntries( Menu* pMenu ); static void ExecuteMenuEntry( sal_uInt16 nId ); static void ExecuteEntry( sal_uInt32 nIndex ); diff --git a/sfx2/source/inc/slotserv.hxx b/sfx2/source/inc/slotserv.hxx index c98a9c4ece4e..b8eff4334b30 100644 --- a/sfx2/source/inc/slotserv.hxx +++ b/sfx2/source/inc/slotserv.hxx @@ -37,7 +37,6 @@ public: _pSlot = pSlot; } const SfxSlot* GetSlot() const; - void Invalidate() { _pSlot = 0; } }; inline SfxSlotServer::SfxSlotServer( const SfxSlot &rSlot, sal_uInt16 nShell ): diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx index 442183d7393b..176722b0f6ce 100644 --- a/sfx2/source/inc/splitwin.hxx +++ b/sfx2/source/inc/splitwin.hxx @@ -105,8 +105,8 @@ public: bLocked = bLock; SetUpdateMode( !bLock ); } - using Window::IsLocked; - bool IsLocked() const { return bLocked; } + using Window::IsLocked; + bool GetWindowPos( const SfxDockingWindow* pWindow, sal_uInt16& rLine, sal_uInt16& rPos ) const; bool GetWindowPos( const Point& rTestPos, diff --git a/sfx2/source/inc/statcach.hxx b/sfx2/source/inc/statcach.hxx index 88867861a3ba..20cd3028773c 100644 --- a/sfx2/source/inc/statcach.hxx +++ b/sfx2/source/inc/statcach.hxx @@ -92,7 +92,6 @@ public: void Dispatch( const SfxItemSet* pSet, bool bForceSynchron = false ); bool IsControllerDirty() const { return bCtrlDirty; } - SfxPoolItem* GetItem() const { return pLastItem; } void ClearCache(); void SetState( SfxItemState, const SfxPoolItem*, bool bMaybeDirty=false ); diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index 5171cacab46e..28e8d2419a64 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -231,10 +231,6 @@ protected: } virtual void LoadedFamilies() {} - void Update() - { - UpdateStyles_Impl(UPDATE_FAMILY_LIST); - } void InvalidateBindings(); virtual void InsertFamilyItem( sal_uInt16 nId, const SfxStyleFamilyItem* pItem ) = 0; @@ -333,29 +329,6 @@ public: return pCurObjShell; } - inline bool CanEdit() const - { - return bCanEdit; - } - inline bool CanDel() const - { - return bCanDel; - } - inline bool CanNew() const - { - return bCanNew; - } - - inline bool CanHide() const - { - return bCanHide; - } - - inline bool CanShow() const - { - return bCanShow; - } - // normally for derivates from SvTreeListBoxes, but in this case the dialog handles context menus PopupMenu* CreateContextMenu(); }; diff --git a/sfx2/source/inc/versdlg.hxx b/sfx2/source/inc/versdlg.hxx index 67453efa3a51..9ad3f3bf983b 100644 --- a/sfx2/source/inc/versdlg.hxx +++ b/sfx2/source/inc/versdlg.hxx @@ -97,15 +97,11 @@ class SfxCmisVersionsDialog : public SfxModalDialog VclPtr<PushButton> m_pCompareButton; SfxViewFrame* pViewFrame; SfxVersionTableDtor* m_pTable; - bool m_bIsSaveVersionOnClose; - DECL_LINK(DClickHdl_Impl, void *); - DECL_LINK(SelectHdl_Impl, void *); - DECL_LINK( ButtonHdl_Impl, Button* ); void LoadVersions(); public: - SfxCmisVersionsDialog ( SfxViewFrame* pFrame, bool ); + SfxCmisVersionsDialog ( SfxViewFrame* pFrame ); virtual ~SfxCmisVersionsDialog (); virtual void dispose() SAL_OVERRIDE; }; |