diff options
author | sb <sb@openoffice.org> | 2010-11-03 16:15:15 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-11-03 16:15:15 +0100 |
commit | de8fef0d3ff128ca58c1da252f3a1a44931bd9ba (patch) | |
tree | 2646b6680d2120157eba19213364758b78cda538 /configmgr | |
parent | b199c053fa6c7afd0ef3629e6adeb085c18beef9 (diff) |
sb132: #i112107# handle configmgr::Access::asProperty being called on an access w/o parent
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/access.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index 3602f3cd73c5..933a414d331c 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -2089,7 +2089,8 @@ css::beans::Property Access::asProperty() { default: type = cppu::UnoType< css::uno::XInterface >::get(); //TODO: correct? nillable = false; - removable = getParentNode()->kind() == Node::KIND_SET; + rtl::Reference< Node > parent(getParentNode()); + removable = parent.is() && parent->kind() == Node::KIND_SET; break; } return css::beans::Property( |