summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-07-22 11:47:14 +0000
committerOliver Bolte <obo@openoffice.org>2008-07-22 11:47:14 +0000
commitaa501d3f3a3f9b624d8d4730a7e61d97a1c29990 (patch)
treec361e9d4450e72e8060e6ea31aaae15f1a3457fa /writerfilter
parent34e891d8833da5ad08899d8e7400833e88b3d553 (diff)
INTEGRATION: CWS xmlfilter06 (1.12.6); FILE MERGED
2008/06/02 15:15:04 hbrinkm 1.12.6.2: use TagLogger 2008/05/27 11:36:10 dr 1.12.6.1: joined changes from CWS xmlfilter05
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/ooxml/OOXMLStreamImpl.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
index 19c20c6308c6..1de3acfcbfba 100644
--- a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: OOXMLStreamImpl.cxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
* This file is part of OpenOffice.org.
*
@@ -30,6 +30,7 @@
#include "OOXMLStreamImpl.hxx"
#include "OOXMLFastTokenHandler.hxx"
+#include "ooxmlLoggers.hxx"
#include <iostream>
#ifndef _COM_SUN_STAR_CONTAINER_XHIERARCHICALSTORAGEACCESS_HPP_
@@ -103,7 +104,7 @@ OOXMLStreamImpl::OOXMLStreamImpl
OOXMLStreamImpl::~OOXMLStreamImpl()
{
#ifdef DEBUG_STREAM
- logger("DEBUG", "</stream>");
+ debug_logger->endElement("stream");
#endif
}
@@ -235,9 +236,8 @@ void OOXMLStreamImpl::init()
bool bFound = lcl_getTarget(mxRelationshipAccess,
mnStreamType, msId, msTarget);
#ifdef DEBUG_STREAM
- logger("DEBUG", string("<stream>")
- + OUStringToOString(msTarget,
- RTL_TEXTENCODING_ASCII_US).getStr());
+ debug_logger->startElement("stream");
+ debug_logger->attribute("target", msTarget);
#endif
if (bFound)