summaryrefslogtreecommitdiffstats
path: root/configmgr/source/childaccess.cxx
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2009-11-11 13:51:17 +0100
committersb <sb@openoffice.org>2009-11-11 13:51:17 +0100
commit2e960eb1926080f6f98a3a7e886a45725eac7fe4 (patch)
treebb88a70b7ba01e82ba0ce9cdece3993eb53b4542 /configmgr/source/childaccess.cxx
parentsb111: #i101955# class/struct confusion (warning with MSVC) (diff)
downloadcore-2e960eb1926080f6f98a3a7e886a45725eac7fe4.tar.gz
core-2e960eb1926080f6f98a3a7e886a45725eac7fe4.zip
sb111: #i101955# fixed and cleaned up handling of oor:types of prop values
Diffstat (limited to 'configmgr/source/childaccess.cxx')
-rw-r--r--configmgr/source/childaccess.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/childaccess.cxx b/configmgr/source/childaccess.cxx
index d5a8904679fb..11bb5b016789 100644
--- a/configmgr/source/childaccess.cxx
+++ b/configmgr/source/childaccess.cxx
@@ -234,7 +234,7 @@ void ChildAccess::setProperty(
case Node::KIND_PROPERTY:
{
PropertyNode * prop = dynamic_cast< PropertyNode * >(node_.get());
- type = prop->getType();
+ type = prop->getStaticType();
nillable = prop->isNillable();
}
break;
@@ -257,7 +257,7 @@ void ChildAccess::setProperty(
{
LocalizedPropertyNode * locprop =
dynamic_cast< LocalizedPropertyNode * >(getParentNode().get());
- type = locprop->getType();
+ type = locprop->getStaticType();
nillable = locprop->isNillable();
}
break;