summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-22 09:19:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-22 10:17:52 +0100
commit83ee1bccf9899bb5c1913389b9a26a73a515ad82 (patch)
treefc5666fa8902e3bd1c2bec50515317c2419e13a4 /sfx2/source/bastyp
parentf921ca3cc59825745b1eac52499d72ef8bfa1db5 (diff)
callcatcher: remove unused methods
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r--sfx2/source/bastyp/helper.cxx27
-rw-r--r--sfx2/source/bastyp/progress.cxx24
2 files changed, 0 insertions, 51 deletions
diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx
index 15d40a0d568b..e00fbda6c374 100644
--- a/sfx2/source/bastyp/helper.cxx
+++ b/sfx2/source/bastyp/helper.cxx
@@ -121,33 +121,6 @@ sal_Bool SfxContentHelper::IsDocument( const String& rContent )
// -----------------------------------------------------------------------
-sal_Bool SfxContentHelper::Kill( const String& rContent )
-{
- sal_Bool bRet = sal_True;
- INetURLObject aDeleteObj( rContent );
- DBG_ASSERT( aDeleteObj.GetProtocol() != INET_PROT_NOT_VALID, "Invalid URL!" );
-
- try
- {
- ::ucbhelper::Content aCnt( aDeleteObj.GetMainURL( INetURLObject::NO_DECODE ), uno::Reference< ucb::XCommandEnvironment > () );
- aCnt.executeCommand( OUString(RTL_CONSTASCII_USTRINGPARAM("delete")), uno::makeAny( sal_Bool( sal_True ) ) );
- }
- catch( const ucb::CommandAbortedException& )
- {
- DBG_WARNING( "CommandAbortedException" );
- bRet = sal_False;
- }
- catch( const uno::Exception& )
- {
- DBG_ERRORFILE( "Any other exception" );
- bRet = sal_False;
- }
-
- return bRet;
-}
-
-// -----------------------------------------------------------------------
-
uno::Sequence < OUString > SfxContentHelper::GetResultSet( const String& rURL )
{
StringList_Impl* pList = NULL;
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx
index 8905cc9f5d39..534abbfe8c89 100644
--- a/sfx2/source/bastyp/progress.cxx
+++ b/sfx2/source/bastyp/progress.cxx
@@ -258,13 +258,6 @@ void SfxProgress::SetText
// -----------------------------------------------------------------------
-const String& SfxProgress::GetStateText_Impl() const
-{
- return pImp->aStateText;
-}
-
-// -----------------------------------------------------------------------
-
// Required in App data
static sal_uIntPtr nLastTime = 0;
@@ -669,21 +662,4 @@ void SfxProgress::LeaveLock()
pImp->nRescheduleLocks--;
}
-// -----------------------------------------------------------------------
-
-bool SfxProgress::StatusBarManagerGone_Impl
-(
- SfxStatusBarManager * // This <SfxStatusBarManager> will be destroyed
-)
-
-/* [Description]
-
- Internal method for notifying the SfxProgress that the specified
- SfxStatusBarManger will be destroyed so that the Progress can let go of it.
-*/
-
-{
- return sal_True;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */