summaryrefslogtreecommitdiff
path: root/sot
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
parent1431c95d19cde8b913d772c9a99c3ebd886e983a (diff)
callcatcher: update list
Diffstat (limited to 'sot')
-rw-r--r--sot/inc/sot/stg.hxx1
-rw-r--r--sot/source/sdstor/ucbstorage.cxx17
2 files changed, 0 insertions, 18 deletions
diff --git a/sot/inc/sot/stg.hxx b/sot/inc/sot/stg.hxx
index cb447e3261b8..793ee0e41340 100644
--- a/sot/inc/sot/stg.hxx
+++ b/sot/inc/sot/stg.hxx
@@ -296,7 +296,6 @@ protected:
~UCBStorage();
public:
static sal_Bool IsStorageFile( SvStream* );
- static sal_Bool IsStorageFile( const String& rName );
static sal_Bool IsDiskSpannedFile( SvStream* );
static String GetLinkedFile( SvStream& );
static String CreateLinkFile( const String& rName );
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 )