diff options
Diffstat (limited to 'ucb/source/ucp/webdav/webdavcontentcaps.cxx')
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontentcaps.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontentcaps.cxx b/ucb/source/ucp/webdav/webdavcontentcaps.cxx index 12e9803d391c..5b7866ca9c9b 100644 --- a/ucb/source/ucp/webdav/webdavcontentcaps.cxx +++ b/ucb/source/ucp/webdav/webdavcontentcaps.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: webdavcontentcaps.cxx,v $ - * $Revision: 1.21 $ + * $Revision: 1.21.20.1 $ * * This file is part of OpenOffice.org. * @@ -335,6 +335,7 @@ uno::Sequence< beans::Property > Content::getProperties( // we used a depth of DAVZERO for PROPFIND. aPropSet.insert( (*props.begin()).properties.begin(), (*props.begin()).properties.end() ); + } catch ( DAVException const & ) { @@ -524,17 +525,6 @@ uno::Sequence< beans::Property > Content::getProperties( } //========================================================================= -void Content::getProperties( - const uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv, - PropertyMap & rProps ) -{ - uno::Sequence< beans::Property > aProps = getProperties( xEnv ); - sal_Int32 nCount = aProps.getLength(); - for ( sal_Int32 n = 0; n < nCount; ++n ) - rProps.insert( aProps[ n ] ); -} - -//========================================================================= // virtual uno::Sequence< com::sun::star::ucb::CommandInfo > Content::getCommands( const uno::Reference< com::sun::star::ucb::XCommandEnvironment > & xEnv ) |