summaryrefslogtreecommitdiff
path: root/xmloff/source/transform
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2010-02-08 10:03:32 +0100
committerAndreas Bregas <ab@openoffice.org>2010-02-08 10:03:32 +0100
commit98667ff62f37ab02e6d3add532c976b9ae2a6bbd (patch)
tree87aed18a33c743643fbe728a7de34a5e937ff268 /xmloff/source/transform
parent10a6f8b96a40912b0e89705570806de3aca41e3e (diff)
parent3c550e9f7bdd8c9f1f75f4148f516ddc94290f92 (diff)
ab76: merge with DEV300_m71
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r--xmloff/source/transform/StyleOOoTContext.cxx2
-rw-r--r--xmloff/source/transform/TransformerBase.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/transform/StyleOOoTContext.cxx b/xmloff/source/transform/StyleOOoTContext.cxx
index c4d645277e91..d1941c18585b 100644
--- a/xmloff/source/transform/StyleOOoTContext.cxx
+++ b/xmloff/source/transform/StyleOOoTContext.cxx
@@ -352,7 +352,7 @@ XMLTypedPropertiesOOoTContext_Impl
++i;
}
-#ifndef PRODUCT
+#ifdef DBG_UTIL
if( !( XML_NAMESPACE_NONE == nPrefix ||
(XML_NAMESPACE_UNKNOWN_FLAG & nPrefix) ||
XML_PROP_TYPE_END==m_aPropTypes[1] ||
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx
index 12b36274609e..973b49274031 100644
--- a/xmloff/source/transform/TransformerBase.cxx
+++ b/xmloff/source/transform/TransformerBase.cxx
@@ -337,7 +337,7 @@ void SAL_CALL XMLTransformerBase::startElement( const OUString& rName,
}
void SAL_CALL XMLTransformerBase::endElement( const OUString&
-#ifndef PRODUCT
+#ifdef DBG_UTIL
rName
#endif
)
@@ -348,7 +348,7 @@ rName
// Get topmost context
::rtl::Reference< XMLTransformerContext > xContext = m_pContexts->back();
-#ifndef PRODUCT
+#ifdef DBG_UTIL
OSL_ENSURE( xContext->GetQName() == rName,
"XMLTransformerBase::endElement: popped context has wrong lname" );
#endif