summaryrefslogtreecommitdiff
path: root/sot/source/sdstor
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-01 09:31:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-01 10:43:56 +0000
commit2eeef79b78242a89ef6901ba67b30f178d59027f (patch)
treeb85607c7b7093f5055ffd069e3bb2603fc5ff3b7 /sot/source/sdstor
parent1431c95d19cde8b913d772c9a99c3ebd886e983a (diff)
callcatcher: update list
Diffstat (limited to 'sot/source/sdstor')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index e82d7b3dff32..4899aa01a441 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -3203,23 +3203,6 @@ sal_Bool UCBStorage::Equals( const BaseStorage& rStorage ) const
return ((BaseStorage*)this) == &rStorage;
}
-sal_Bool UCBStorage::IsStorageFile( const String& rFileName )
-{
- rtl::OUString aFileURL = rFileName;
- INetURLObject aObj( aFileURL );
- if ( aObj.GetProtocol() == INET_PROT_NOT_VALID )
- {
- ::utl::LocalFileHelper::ConvertPhysicalNameToURL( rFileName, aFileURL );
- aObj.SetURL( aFileURL );
- aFileURL = aObj.GetMainURL( INetURLObject::NO_DECODE );
- }
-
- SvStream * pStm = ::utl::UcbStreamHelper::CreateStream( aFileURL, STREAM_STD_READ );
- sal_Bool bRet = UCBStorage::IsStorageFile( pStm );
- delete pStm;
- return bRet;
-}
-
sal_Bool UCBStorage::IsStorageFile( SvStream* pFile )
{
if ( !pFile )