summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/contenthelper.cxx
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2001-06-18 07:24:47 +0000
committerKai Sommerfeld <kso@openoffice.org>2001-06-18 07:24:47 +0000
commit8050ce7be142eda938d19dd165d80db8c182e344 (patch)
tree10b99ac81a4df219fca07cc6b4d852630ec403f6 /ucbhelper/source/provider/contenthelper.cxx
parent17a5fb94c30b3430dec37b867bb27b86ccd296ec (diff)
#88294# - Fixed ContentImplHelper::getParent().
Diffstat (limited to 'ucbhelper/source/provider/contenthelper.cxx')
-rw-r--r--ucbhelper/source/provider/contenthelper.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx
index e62704855fdf..9c7a606f84b3 100644
--- a/ucbhelper/source/provider/contenthelper.cxx
+++ b/ucbhelper/source/provider/contenthelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: contenthelper.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kso $ $Date: 2001-03-27 14:01:44 $
+ * last change: $Author: kso $ $Date: 2001-06-18 08:24:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -981,7 +981,13 @@ Reference< XInterface > SAL_CALL ContentImplHelper::getParent()
{
Reference< XContentIdentifier > xId(
new ::ucb::ContentIdentifier( m_xSMgr, aURL ) );
- return m_xProvider->queryContent( xId );
+ try
+ {
+ return m_xProvider->queryContent( xId );
+ }
+ catch ( IllegalIdentifierException const & )
+ {
+ }
}
return Reference< XInterface >();