From bc2bb7b46606ccf2cfdc74d8cad87f9480053b50 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 29 Nov 2010 15:56:11 +0000 Subject: survice missing elements --- framework/source/uiconfiguration/windowstateconfiguration.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index 643c2e718d..b2429d5619 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -1374,7 +1374,14 @@ WindowStateConfiguration::WindowStateConfiguration( const Reference< XMultiServi UNO_QUERY ); Reference< XNameAccess > xEmptyNameAccess; Reference< XNameAccess > xNameAccess( m_xModuleManager, UNO_QUERY_THROW ); - Sequence< rtl::OUString > aElementNames = xNameAccess->getElementNames(); + Sequence< rtl::OUString > aElementNames; + try + { + aElementNames = xNameAccess->getElementNames(); + } + catch (::com::sun::star::uno::RuntimeException &) + { + } Sequence< PropertyValue > aSeq; ::rtl::OUString aModuleIdentifier; -- cgit v1.2.3