From 34e891d8833da5ad08899d8e7400833e88b3d553 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 22 Jul 2008 11:46:55 +0000 Subject: [PATCH] INTEGRATION: CWS xmlfilter06 (1.25.6); FILE MERGED 2008/06/29 13:06:09 dr 1.25.6.3: RESYNC: (1.25-1.26); FILE MERGED 2008/05/30 12:21:06 hbrinkm 1.25.6.2: use TagLogger 2008/05/27 11:36:10 dr 1.25.6.1: joined changes from CWS xmlfilter05 --- .../source/ooxml/OOXMLPropertySetImpl.cxx | 28 ++++--------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx index a681f16a0d1f..067ae4615a0f 100644 --- a/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx +++ b/writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: OOXMLPropertySetImpl.cxx,v $ - * $Revision: 1.26 $ + * $Revision: 1.27 $ * * This file is part of OpenOffice.org. * @@ -168,12 +168,6 @@ void OOXMLPropertyImpl::resolve(writerfilter::Properties & rProperties) rProperties.attribute(mId, *getValue()); break; } - -#ifdef DEBUG_RESOLVE - logger("DEBUG", ""); - logger("DEBUG", toString()); - logger("DEBUG", ""); -#endif } /* @@ -424,7 +418,10 @@ void OOXMLPropertySetImpl::resolve(Properties & rHandler) pProp->resolve(rHandler); #ifdef DEBUG_RESOLVE else - logger("DEBUG", "zero-property"); + { + debug_logger->startElement("error"); + debug_logger->chars("zero-property"); + debug_logger->endElement("error"); #endif aIt++; @@ -460,11 +457,6 @@ string OOXMLPropertySetImpl::getType() const void OOXMLPropertySetImpl::add(OOXMLProperty::Pointer_t pProperty) { -#ifdef DEBUG_RESOLVE - if (pProperty->getId() == 0x0) - logger("DEBUG", "zero property"); -#endif - if (pProperty.get() != NULL && pProperty->getId() != 0x0) mProperties.push_back(pProperty); } @@ -478,11 +470,6 @@ void OOXMLPropertySetImpl::add(OOXMLPropertySet::Pointer_t pPropertySet) if (pSet != NULL) { -#ifdef DEBUG_RESOLVE - logger("DEBUG", "" + toString() - + "" + pSet->toString() + ""); -#endif - mProperties.resize(mProperties.size() + pSet->mProperties.size()); for (OOXMLProperties_t::iterator aIt = pSet->mProperties.begin(); aIt != pSet->mProperties.end(); aIt++) @@ -756,11 +743,6 @@ void OOXMLPropertySetEntryToString::sprm(Sprm & /*rSprm*/) void OOXMLPropertySetEntryToString::attribute(Id nId, Value & rValue) { -#ifdef DEBUG_RESOLVE - logger("DEBUG", "OOXMLPropertySetEntryToString::attribute(" - + (*QNameToString::Instance())(nId) + ")"); -#endif - if (nId == mnId) mStr = rValue.getString(); }