diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-29 15:56:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-29 16:03:43 +0000 |
commit | bc2bb7b46606ccf2cfdc74d8cad87f9480053b50 (patch) | |
tree | fbae21030961b4eea3f4b59f1662cc2d51f96199 /framework | |
parent | ddbb6322a2f6d898fec72b65f125c7e7af1997ef (diff) |
survice missing elements
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uiconfiguration/windowstateconfiguration.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
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; |