summaryrefslogtreecommitdiff
path: root/framework/source/services/frame.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-04-07 09:19:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-04-07 09:19:47 +0000
commitf45e3ff6a3be1c6ac38b23be0773ebfde48e6b19 (patch)
tree5afe64c7020c8b0ede406a89e77922a0a5dedb20 /framework/source/services/frame.cxx
parent72505b1a6b1349ad4b01e320ba3ffbdaa46fcf25 (diff)
INTEGRATION: CWS toolbarbehavior (1.91.20); FILE MERGED
2006/03/28 12:59:26 cd 1.91.20.1: #i63514# Throw runtime exception if mandatory interface are not available on XFrame reference
Diffstat (limited to 'framework/source/services/frame.cxx')
-rw-r--r--framework/source/services/frame.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 0db6419aa8e3..63db268b15d8 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: frame.cxx,v $
*
- * $Revision: 1.91 $
+ * $Revision: 1.92 $
*
- * last change: $Author: hr $ $Date: 2006-02-17 18:11:25 $
+ * last change: $Author: vg $ $Date: 2006-04-07 10:19:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -3112,10 +3112,10 @@ void Frame::impl_setCloser( /*IN*/ const css::uno::Reference< css::frame::XFrame
try
{
- css::uno::Reference< css::beans::XPropertySet > xFrameProps(xFrame, css::uno::UNO_QUERY);
+ css::uno::Reference< css::beans::XPropertySet > xFrameProps(xFrame, css::uno::UNO_QUERY_THROW);
css::uno::Reference< css::frame::XLayoutManager > xLayoutManager;
xFrameProps->getPropertyValue(FRAME_PROPNAME_LAYOUTMANAGER) >>= xLayoutManager;
- css::uno::Reference< css::beans::XPropertySet > xLayoutProps(xLayoutManager, css::uno::UNO_QUERY);
+ css::uno::Reference< css::beans::XPropertySet > xLayoutProps(xLayoutManager, css::uno::UNO_QUERY_THROW);
css::uno::Reference< css::frame::XStatusListener > xCallback;
if (bState)
{