summaryrefslogtreecommitdiff
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
commit2a703f5f8a3f1eab783e3c3067497dd948f4d149 (patch)
tree8fc59e07b891d381d5e072814212c306c3e6d157
parent3f3a5ead76102473dc2a93be57a0bd1b52935684 (diff)
callcatcher: remove unused code
-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 3ed4975bc2..7684757c59 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 f50a5c0904..eed3d1fa88 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 46737fe462..3c7aeeedde 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 c7827cadf6..440308e899 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 894505fd15..c99f94ab27 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 8c40eab790..daf018ed55 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 )