diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-02 11:26:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-02 12:37:11 +0000 |
commit | 52c2111e4f466edf77e3eee17fc9c283f3b69100 (patch) | |
tree | 2cceb8d9131054a0e7791ce4124e50819c11ccd8 /sfx2 | |
parent | c32aa53a7df7af4ef23b8d235483eabb51463183 (diff) |
callcatcher: remove some unused methods
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appdde.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/dialog/templdlg.cxx | 20 | ||||
-rw-r--r-- | sfx2/source/inc/templdgi.hxx | 1 |
3 files changed, 3 insertions, 26 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx index a1b7f8595a34..d2bf891e2c59 100644 --- a/sfx2/source/appl/appdde.cxx +++ b/sfx2/source/appl/appdde.cxx @@ -229,7 +229,7 @@ public: }; -#if defined( WNT ) +#if defined WNT namespace { @@ -338,8 +338,6 @@ long SfxApplication::DdeExecute( const OUString& rCmd ) // Expressed in our B return 1; } -#endif - /* [Description] This method can be overridden by application developers, to receive @@ -364,8 +362,6 @@ long SfxObjectShell::DdeExecute( const OUString& rCmd ) // Expressed in our B return 1; } - - /* [Description] This method can be overridden by application developers, to receive @@ -396,6 +392,8 @@ bool SfxObjectShell::DdeSetData( const OUString&, // the Item return false; } +#endif + /* [Description] This method can be overridden by application developers, to establish diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx index 22d5020ab05d..4684c2ade5c5 100644 --- a/sfx2/source/dialog/templdlg.cxx +++ b/sfx2/source/dialog/templdlg.cxx @@ -2395,9 +2395,6 @@ void SfxTemplateDialog_Impl::Resize() pTreeBox->SetSizePixel(aFmtSize); } - - - Size SfxTemplateDialog_Impl::GetMinOutputSizePixel() { if (m_pFloat != NULL) @@ -2414,21 +2411,6 @@ Size SfxTemplateDialog_Impl::GetMinOutputSizePixel() return Size(0,0); } - - -void SfxTemplateDialog_Impl::Command( const CommandEvent& rCEvt ) -{ - if (m_pFloat != NULL) - { - if(COMMAND_CONTEXTMENU == rCEvt.GetCommand()) - ExecuteContextMenu_Impl( rCEvt.GetMousePosPixel(), m_pFloat ); - else - m_pFloat->Command(rCEvt); - } -} - - - void SfxTemplateDialog_Impl::EnableItem(sal_uInt16 nMesId, bool bCheck) { OUString aEmpty; @@ -2445,8 +2427,6 @@ void SfxTemplateDialog_Impl::EnableItem(sal_uInt16 nMesId, bool bCheck) } } - - void SfxTemplateDialog_Impl::CheckItem(sal_uInt16 nMesId, bool bCheck) { switch(nMesId) diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx index da743c778e82..5af3fd7a7e4b 100644 --- a/sfx2/source/inc/templdgi.hxx +++ b/sfx2/source/inc/templdgi.hxx @@ -323,7 +323,6 @@ private: DECL_LINK( MenuSelectHdl, Menu* ); protected: - void Command( const CommandEvent& rMEvt ); virtual void EnableEdit( bool = true ) SAL_OVERRIDE; virtual void EnableItem( sal_uInt16 nMesId, bool bCheck = true ) SAL_OVERRIDE; virtual void CheckItem( sal_uInt16 nMesId, bool bCheck = true ) SAL_OVERRIDE; |