From 228a3f8b9f279e80917968d9780e822a1d684ada Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 9 Jul 2012 16:32:47 +0200 Subject: Handle attachFrame on disposed object gracefully ...this can apparently happen during the complex.sfx2.DocumentEvetns JUnit test (which would otherwise sometimes fail with an uncaught RuntimeException). Change-Id: I4c96a3bc6bf08e92ec3ec82d76812a35226494fb --- framework/source/services/backingcomp.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx index af64d81dc61d..451af43a8640 100644 --- a/framework/source/services/backingcomp.cxx +++ b/framework/source/services/backingcomp.cxx @@ -468,9 +468,7 @@ void SAL_CALL BackingComp::attachFrame( /*IN*/ const css::uno::Reference< css::f static_cast< ::cppu::OWeakObject* >(this)); if (!m_xWindow.is()) - throw css::uno::RuntimeException( - ::rtl::OUString("instance seams to be not or wrong initialized"), - static_cast< ::cppu::OWeakObject* >(this)); + return; // disposed // safe the frame reference m_xFrame = xFrame; -- cgit 21 LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
path: root/source/ast/officecfg/registry/data
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-10-27 15:16:07 +0100
committerAndras Timar <andras.timar@collabora.com>2020-10-27 15:23:16 +0100
commitc68bab7cc30dfa80ac049eff819fdc1ea022f779 (patch)
tree6f69bf89e2a0bc185635ca325912f7a9a7c5e848 /source/ast/officecfg/registry/data
parent2f1b8d2f5aefd8c689d7382d0e562718b3ca6c00 (diff)