summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-31 23:49:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-02 11:07:15 +0100
commitf0ad83cb8b66707de5772e53f72eddfae8c1e6b7 (patch)
tree5abc15353e52491760ae757bca408fde9174819d /sfx2
parentf822cc5e8fa0d6c2256a4eefd1350de02d310447 (diff)
callcatcher: remove unused code
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/app.hxx1
-rw-r--r--sfx2/inc/sfx2/childwin.hxx1
-rw-r--r--sfx2/inc/sfx2/sfxresid.hxx14
-rw-r--r--sfx2/source/appl/appdde.cxx21
-rw-r--r--sfx2/source/appl/childwin.cxx5
-rw-r--r--sfx2/source/bastyp/sfxresid.cxx8
6 files changed, 0 insertions, 50 deletions
diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx
index bf0e2cd9c512..cbf89c68051b 100644
--- a/sfx2/inc/sfx2/app.hxx
+++ b/sfx2/inc/sfx2/app.hxx
@@ -176,7 +176,6 @@ public:
long DdeSetData( const String& rItem,
const String& rMimeType,
const ::com::sun::star::uno::Any & rValue );
- ::sfx2::SvLinkSource* DdeCreateLinkSource( const String& rItem );
sal_Bool InitializeDde();
const DdeService* GetDdeService() const;
DdeService* GetDdeService();
diff --git a/sfx2/inc/sfx2/childwin.hxx b/sfx2/inc/sfx2/childwin.hxx
index 6f5c9b1a3359..ae7552d29310 100644
--- a/sfx2/inc/sfx2/childwin.hxx
+++ b/sfx2/inc/sfx2/childwin.hxx
@@ -218,7 +218,6 @@ public:
static SfxChildWindow* CreateChildWindow( sal_uInt16, ::Window*, SfxBindings*, SfxChildWinInfo&);
void SetHideNotDelete( sal_Bool bOn );
sal_Bool IsHideNotDelete() const;
- void SetHideAtToggle( sal_Bool bOn );
sal_Bool IsHideAtToggle() const;
sal_Bool IsVisible() const;
void SetWantsFocus( sal_Bool );
diff --git a/sfx2/inc/sfx2/sfxresid.hxx b/sfx2/inc/sfx2/sfxresid.hxx
index 320d18bf0f03..32e929e8d076 100644
--- a/sfx2/inc/sfx2/sfxresid.hxx
+++ b/sfx2/inc/sfx2/sfxresid.hxx
@@ -40,20 +40,6 @@ public:
static void DeleteResMgr();
};
-//============================================================================
-class SfxSimpleResId
-{
- String m_sText;
-
-public:
- SfxSimpleResId(sal_uInt16 nID);
-
- String getText() const { return m_sText; }
-
- operator String() const { return getText(); }
-};
-
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index c3fb0e9dfc92..cb3f03a00321 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -240,27 +240,6 @@ long SfxApplication::DdeSetData
return 0;
}
-//--------------------------------------------------------------------
-
-::sfx2::SvLinkSource* SfxApplication::DdeCreateLinkSource
-(
- const String& // the Item to be addressed
-)
-
-/* [Description]
-
- This method can be overloaded by application developers, to establish
- a DDE-hotlink to thier SfxApplication subclass.
-
- The base implementation is not generate a link and returns 0.
-*/
-
-{
- return 0;
-}
-
-//========================================================================
-
long SfxObjectShell::DdeExecute
(
const String& rCmd // Expressed in our BASIC-Syntax
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index 583a98456959..437d188d3681 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -583,11 +583,6 @@ sal_Bool SfxChildWindow::IsHideNotDelete() const
return pImp->bHideNotDelete;
}
-void SfxChildWindow::SetHideAtToggle( sal_Bool bOn )
-{
- pImp->bHideAtToggle = bOn;
-}
-
sal_Bool SfxChildWindow::IsHideAtToggle() const
{
return pImp->bHideAtToggle;
diff --git a/sfx2/source/bastyp/sfxresid.cxx b/sfx2/source/bastyp/sfxresid.cxx
index e98014cdba16..ba8a9f1b95cd 100644
--- a/sfx2/source/bastyp/sfxresid.cxx
+++ b/sfx2/source/bastyp/sfxresid.cxx
@@ -44,14 +44,6 @@ SfxResId::SfxResId( sal_uInt16 nId ) :
{
}
-//============================================================================
-// SfxSimpleResId Implementation.
-//============================================================================
-
-SfxSimpleResId::SfxSimpleResId(sal_uInt16 nID):
- m_sText( SFX_APP()->GetSimpleResManager()->ReadString(nID) )
-{}
-
ResMgr* SfxResId::GetResMgr()
{
if ( !pMgr )