From 58692c30e390d24c20108a7c3140d96638898696 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 10 Nov 2011 09:28:22 +0000 Subject: callcatcher: remove unused methods --- cui/source/dialogs/hltpbase.cxx | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'cui/source/dialogs') 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 @@ -511,35 +511,6 @@ SvxMacroTableDtor* SvxHyperlinkTabPageBase::GetMacroTable() return ( (SvxMacroTableDtor*)pHyperlinkItem->GetMacroTbl() ); } -/************************************************************************* -|* -|* 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 -- cgit