summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-29 15:56:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-29 16:03:43 +0000
commitbc2bb7b46606ccf2cfdc74d8cad87f9480053b50 (patch)
treefbae21030961b4eea3f4b59f1662cc2d51f96199
parentddbb6322a2f6d898fec72b65f125c7e7af1997ef (diff)
survice missing elements
-rw-r--r--framework/source/uiconfiguration/windowstateconfiguration.cxx9
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;