summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2009-09-16 17:08:52 +0200
committersb <sb@openoffice.org>2009-09-16 17:08:52 +0200
commit11418032c587bcee688fcb4f76739c0e2520193b (patch)
treefd69455f64f6f2940f9eab860e45b06e8abaf748 /configmgr
parentca107138e1786b636b8f81ebbcc9994ac7dd393f (diff)
parenta11aa70b384e3ca0df953b53cff6b4d7f9699147 (diff)
merged in DEV300_m59
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/tree/localizedtreeactions.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/configmgr/source/tree/localizedtreeactions.cxx b/configmgr/source/tree/localizedtreeactions.cxx
index 8cd40c4da79f..b2ed23a730b3 100644
--- a/configmgr/source/tree/localizedtreeactions.cxx
+++ b/configmgr/source/tree/localizedtreeactions.cxx
@@ -178,8 +178,11 @@ namespace
// -- -----------------------------
OSL_ENSURE( aValueType != uno::Type(), "VOID result type found");
- OSL_ENSURE( aValueType == parseTemplateName(_aSubtree.getElementTemplateName()),
+#if OSL_DEBUG_LEVEL > 0
+ uno::Type aTemplateType = parseTemplateName( _aSubtree.getElementTemplateName() );
+ OSL_ENSURE( ( aValueType == aTemplateType ) || ( aTemplateType.getTypeClass() == uno::TypeClass_ANY ),
"ERROR: Found Value Type doesn't match encoded value type in pseudo template name");
+#endif
OSL_POSTCOND( static_cast<ValueNode&>(*pResult).getValueType() == aValueType,
"ERROR: Resulting Value Type doesn't match original value type" );