summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-28 11:05:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-28 11:05:47 +0100
commitbcf50ad172bc3ddeb4b04d21614a9a87de0eaef6 (patch)
tree56d07cc199648e0d727de0274c75e0791e67665b /toolkit/source
parentb74f17642d0bcd94b938241ba8a6ce3ee09af757 (diff)
Resolves: fdo#39467 we should throw instead of crashing when \!is()
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/controls/unocontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index af46d98cef5d..e26a8f853521 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -1333,8 +1333,8 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer
sal_Bool bDesignMode(mbDesignMode);
Reference< XGraphics > xGraphics( mxGraphics );
- Reference< XView > xView ( getPeer(), UNO_QUERY );
- Reference< XWindow > xWindow ( getPeer(), UNO_QUERY );
+ Reference< XView > xView ( getPeer(), UNO_QUERY_THROW );
+ Reference< XWindow > xWindow ( getPeer(), UNO_QUERY_THROW );
aGuard.clear();