diff options
author | Christian Lippka <cl@openoffice.org> | 2010-09-17 13:58:19 +0200 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2010-09-17 13:58:19 +0200 |
commit | 35f7711566bfa7016ce5f838fe9b3c8e84cd7472 (patch) | |
tree | 18ed730864117463ac1e24ca9483174e143cb091 /unotools/source/config | |
parent | 3036c496a1f303386d9d7eebe4317ea6c7d3cf0c (diff) |
mib19: #163566# do not throw assertion if node is not available
Diffstat (limited to 'unotools/source/config')
-rw-r--r-- | unotools/source/config/viewoptions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx index 7f2250c611fc..f76ce48eebdf 100644 --- a/unotools/source/config/viewoptions.cxx +++ b/unotools/source/config/viewoptions.cxx @@ -781,7 +781,7 @@ css::uno::Reference< css::uno::XInterface > SvtViewOptionsBase_Impl::impl_getSet xNode = ::comphelper::ConfigurationHelper::makeSureSetNodeExists(m_xRoot, m_sListName, sNode); else { - if (m_xSet.is()) + if (m_xSet.is() && m_xSet->hasByName(sNode) ) m_xSet->getByName(sNode) >>= xNode; } } |