summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-10 09:28:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-10 09:28:40 +0000
commit58692c30e390d24c20108a7c3140d96638898696 (patch)
treeecd84d5343b09488c91e8f8008b10fd216c2de65 /cui
parent8c69b4db58ce820e27c96dc0f33890b6946a5f4c (diff)
callcatcher: remove unused methods
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hltpbase.cxx29
-rw-r--r--cui/source/inc/hltpbase.hxx1
2 files changed, 0 insertions, 30 deletions
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index c577095dd216..4b6fd2cb03e5 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -513,35 +513,6 @@ SvxMacroTableDtor* SvxHyperlinkTabPageBase::GetMacroTable()
/*************************************************************************
|*
-|* Does the given file exists ?
-|*
-|************************************************************************/
-
-sal_Bool SvxHyperlinkTabPageBase::FileExists( const INetURLObject& rURL )
-{
- sal_Bool bRet = sal_False;
-
- if( rURL.GetFull().getLength() > 0 )
- {
- try
- {
- Content aCnt( rURL.GetMainURL( INetURLObject::NO_DECODE ), ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >() );
- ::rtl::OUString aTitle;
-
- aCnt.getPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Title" ) ) ) >>= aTitle;
- bRet = ( aTitle.getLength() > 0 );
- }
- catch( ... )
- {
- OSL_FAIL( "FileExists: ucb error" );
- }
- }
-
- return bRet;
-}
-
-/*************************************************************************
-|*
|* try to detect the current protocol that is used in aStrURL
|*
|************************************************************************/
diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx
index b13fe077e15b..686d5611d6f9 100644
--- a/cui/source/inc/hltpbase.hxx
+++ b/cui/source/inc/hltpbase.hxx
@@ -147,7 +147,6 @@ protected:
String aEmptyStr;
- sal_Bool FileExists( const INetURLObject& rURL );
static String GetSchemeFromURL( String aStrURL );
inline void DisableClose( sal_Bool _bDisable ) { mbIsCloseDisabled = _bDisable; }