diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:40 +0000 |
commit | 58692c30e390d24c20108a7c3140d96638898696 (patch) | |
tree | ecd84d5343b09488c91e8f8008b10fd216c2de65 /cui/source/dialogs | |
parent | 8c69b4db58ce820e27c96dc0f33890b6946a5f4c (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/hltpbase.cxx | 29 |
1 files changed, 0 insertions, 29 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 |* |************************************************************************/ |