summaryrefslogtreecommitdiffstats
path: root/configmgr/source/propertynode.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/propertynode.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/propertynode.cxx')
-rw-r--r--configmgr/source/propertynode.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/configmgr/source/propertynode.cxx b/configmgr/source/propertynode.cxx
index b1035bd0b4ee..93aec170bfda 100644
--- a/configmgr/source/propertynode.cxx
+++ b/configmgr/source/propertynode.cxx
@@ -51,9 +51,9 @@ namespace css = com::sun::star;
}
PropertyNode::PropertyNode(
- int layer, Type type, bool nillable, css::uno::Any const & value,
+ int layer, Type staticType, bool nillable, css::uno::Any const & value,
bool extension):
- Node(layer), type_(type), nillable_(nillable), value_(value),
+ Node(layer), staticType_(staticType), nillable_(nillable), value_(value),
extension_(extension)
{}
@@ -61,8 +61,8 @@ rtl::Reference< Node > PropertyNode::clone() const {
return new PropertyNode(*this);
}
-Type PropertyNode::getType() const {
- return type_;
+Type PropertyNode::getStaticType() const {
+ return staticType_;
}
bool PropertyNode::isNillable() const {
@@ -98,7 +98,7 @@ bool PropertyNode::isExtension() const {
}
PropertyNode::PropertyNode(PropertyNode const & other):
- Node(other), type_(other.type_), nillable_(other.nillable_),
+ Node(other), staticType_(other.staticType_), nillable_(other.nillable_),
value_(other.value_), externalDescriptor_(other.externalDescriptor_),
extension_(other.extension_)
{}