summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2010-12-17 13:36:59 +0100
committerHans-Joachim Lankenau <hjs@openoffice.org>2010-12-17 13:36:59 +0100
commit238883621ee13e53f535fb56c4dc8510e39a7f3b (patch)
tree3fea36e0243440f0e5c96364a0fe36269966c8fd /unotools
parent845ab68981c2aacf81af53adbf9d2d4d2e9d5527 (diff)
parent9103c81b03961788743d6248099f6a7f35f735d9 (diff)
CWS-TOOLING: integrate CWS mib19
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/viewoptions.cxx2
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;
}
}