summaryrefslogtreecommitdiffstats
path: root/sot/source/sdstor/ucbstorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/ucbstorage.cxx')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx54
1 files changed, 0 insertions, 54 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 86f17ed6eba2..46fb25ea1a20 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -3380,58 +3380,4 @@ sal_Bool UCBStorage::GetProperty( const String& rName, ::com::sun::star::uno::An
return sal_False;
}
-sal_Bool UCBStorage::GetProperty( const String& rEleName, const String& rName, ::com::sun::star::uno::Any& rValue )
-{
- UCBStorageElement_Impl *pEle = FindElement_Impl( rEleName );
- if ( !pEle )
- return sal_False;
-
- if ( !pEle->m_bIsFolder )
- {
- if ( !pEle->m_xStream.Is() )
- pImp->OpenStream( pEle, pImp->m_nMode, pImp->m_bDirect );
- if ( pEle->m_xStream->m_nError )
- {
- pEle->m_xStream.Clear();
- return sal_False;
- }
-
- try
- {
- if ( pEle->m_xStream->m_pContent )
- {
- rValue = pEle->m_xStream->m_pContent->getPropertyValue( rName );
- return sal_True;
- }
- }
- catch (const Exception&)
- {
- }
- }
- else
- {
- if ( !pEle->m_xStorage.Is() )
- pImp->OpenStorage( pEle, pImp->m_nMode, pImp->m_bDirect );
- if ( pEle->m_xStorage->m_nError )
- {
- pEle->m_xStorage.Clear();
- return sal_False;
- }
-
- try
- {
- if ( pEle->m_xStorage->GetContent() )
- {
- rValue = pEle->m_xStorage->m_pContent->getPropertyValue( rName );
- return sal_True;
- }
- }
- catch (const Exception&)
- {
- }
- }
-
- return sal_False;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */