diff options
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/document/Control.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java index 448b84f7224c..1b6075577cd8 100644 --- a/wizards/com/sun/star/wizards/document/Control.java +++ b/wizards/com/sun/star/wizards/document/Control.java @@ -230,13 +230,12 @@ public class Control extends Shape { throw new IllegalArgumentException(); } - return getPeer().getPreferredSize(); } catch (Exception e) { e.printStackTrace(System.err); - return null; } + return getPeer().getPreferredSize(); } public void setPropertyValue(String _sPropertyName, Object _aPropertyValue) throws Exception |