summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-11-15 09:25:32 +0100
committersb <sb@openoffice.org>2010-11-15 09:25:32 +0100
commit691487b165eb183a54ef24bc9c1fec9096025739 (patch)
tree493f8f18975781f0d9467f80c7b78a1c935e8558 /configmgr
parent53719b7e11c3066fc5f260c57b1bd1e945bff53b (diff)
parent35653fbf17e48e3bc87803388f6132f8df0dabc2 (diff)
sb135: merged in DEV300_m93
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/access.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 3602f3cd73..933a414d33 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(