diff options
author | Thomas Benisch <tbe@openoffice.org> | 2010-06-04 20:08:33 +0200 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2010-06-04 20:08:33 +0200 |
commit | c1032dd013fe5cec7262f8b1727d793ae37ef7ec (patch) | |
tree | 417b04b8247e6afa1f585eb8bc9037290bb1174d /javaunohelper/com/sun/star/lib | |
parent | 5c92fa80fcce16bb9dd0da89f9f5eafed3cb97b5 (diff) |
calc55: #i112084# All charts in a Calc document are loaded when saving the document
Diffstat (limited to 'javaunohelper/com/sun/star/lib')
-rw-r--r-- | javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java index 25aba48c777a..ad2c8c7bcf88 100644 --- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java +++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java @@ -836,7 +836,6 @@ XMultiPropertySet * @return The value of the property. */ protected Object getPropertyValue(Property property) - throws com.sun.star.lang.WrappedTargetException { Object ret= null; try @@ -853,9 +852,13 @@ XMultiPropertySet ret= propField.get(this); } } - catch(java.lang.Exception e) + catch(java.lang.NoSuchFieldException e) + { + throw new java.lang.RuntimeException(e); + } + catch(java.lang.IllegalAccessException e) { - throw new WrappedTargetException("PropertySet.setPropertyValue_NoBroadcast", this, e); + throw new java.lang.RuntimeException(e); } return ret; } @@ -1001,7 +1004,7 @@ XMultiPropertySet { value= getPropertyValue(prop); } - catch(WrappedTargetException e) + catch(Exception e) { continue; } |