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 | 972cfec789dcbf9562f3e6ca4215344a59723fd2 (patch) | |
tree | 99dd892ac015509dd91c0a84a5d0148c4afd8bb4 /framework/source/uiconfiguration | |
parent | e7ef458a65b2dcb008abaab42834bbcb6a473212 (diff) |
survice missing elements
Diffstat (limited to 'framework/source/uiconfiguration')
-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 be71f55c7ff4..0adf1f1c8417 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; |