diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-06-04 18:22:13 +0200 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-06-04 18:22:13 +0200 |
commit | d77d2195dd240df9c28b9c50a667db1e2a8d0e1b (patch) | |
tree | 94aa625e618bab2563179df23950b01766074a9b /chart2 | |
parent | 20fd52e66f2a42c26a5b1153c1412336ecb22b61 (diff) |
calc55: #i112035# loading some old chart document fails
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/WrappedPropertySet.cxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/chart2/source/tools/WrappedPropertySet.cxx b/chart2/source/tools/WrappedPropertySet.cxx index 116ce6f417f9..843aeb261a5f 100644 --- a/chart2/source/tools/WrappedPropertySet.cxx +++ b/chart2/source/tools/WrappedPropertySet.cxx @@ -34,6 +34,8 @@ // header for define DELETEZ #include <tools/solar.h> +#include <tools/debug.hxx> + //............................................................................. namespace chart { @@ -115,7 +117,11 @@ void SAL_CALL WrappedPropertySet::setPropertyValue( const OUString& rPropertyNam else if( xInnerPropertySet.is() ) xInnerPropertySet->setPropertyValue( rPropertyName, rValue ); else - throw beans::UnknownPropertyException(); + { +#if OSL_DEBUG_LEVEL > 1 + DBG_ERROR("found no inner property set to map to"); +#endif + } } catch( beans::UnknownPropertyException& ex ) { @@ -160,7 +166,11 @@ Any SAL_CALL WrappedPropertySet::getPropertyValue( const OUString& rPropertyName else if( xInnerPropertySet.is() ) aRet = xInnerPropertySet->getPropertyValue( rPropertyName ); else - throw beans::UnknownPropertyException(); + { +#if OSL_DEBUG_LEVEL > 1 + DBG_ERROR("found no inner property set to map to"); +#endif + } } catch( beans::UnknownPropertyException& ex ) { |