summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2001-03-23 10:00:45 +0000
committerIngrid Halama <iha@openoffice.org>2001-03-23 10:00:45 +0000
commit686ee973d91df37e37899282aa973e8cfbcc6a48 (patch)
tree756a65a00450616199c10e454e2268adc57b3d8c /ucb/source
parent479af53369727a26531ae622227e46e68097597e (diff)
#84921# add try catch
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx
index 1a9c9f48cc76..88319d58a1ea 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.cxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cachedcontentresultsetstub.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: iha $ $Date: 2001-03-22 16:47:12 $
+ * last change: $Author: iha $ $Date: 2001-03-23 11:00:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -449,7 +449,11 @@ void SAL_CALL CachedContentResultSetStub
{
Any aValue;
aValue <<= nFetchSize;
- setPropertyValue( m_aPropertyNameForFetchSize, aValue );
+ try
+ {
+ setPropertyValue( m_aPropertyNameForFetchSize, aValue );
+ }
+ catch( com::sun::star::uno::Exception& ) {}
}
if( bSetDirection )
{
@@ -458,7 +462,11 @@ void SAL_CALL CachedContentResultSetStub
nFetchDirection = FetchDirection::REVERSE;
Any aValue;
aValue <<= nFetchDirection;
- setPropertyValue( m_aPropertyNameForFetchDirection, aValue );
+ try
+ {
+ setPropertyValue( m_aPropertyNameForFetchDirection, aValue );
+ }
+ catch( com::sun::star::uno::Exception& ) {}
}
}