summaryrefslogtreecommitdiff
path: root/transex3
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-09-20 14:03:16 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-09-20 14:03:16 +0000
commitee11d94fa4c82edadb05ede17f4250c0e2d8f899 (patch)
treee66a383b2f14bcf3374330b4b39e749f7de0cda5 /transex3
parente64a3b2d3d7419291e36aa2f619b4e083044ac13 (diff)
INTEGRATION: CWS os2port01 (1.14.24); FILE MERGED
2007/08/08 07:08:28 obr 1.14.24.2: RESYNC: (1.14-1.18); FILE MERGED 2006/12/28 15:07:40 ydario 1.14.24.1: OS/2 initial import.
Diffstat (limited to 'transex3')
-rw-r--r--transex3/source/xmlparse.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/transex3/source/xmlparse.cxx b/transex3/source/xmlparse.cxx
index 1e7a5b156919..dccd9c229d3f 100644
--- a/transex3/source/xmlparse.cxx
+++ b/transex3/source/xmlparse.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: xmlparse.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: vg $ $Date: 2006-11-22 10:43:48 $
+ * last change: $Author: vg $ $Date: 2007-09-20 15:03:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -896,7 +896,8 @@ OUString XMLElement::ToOUString(){
/*****************************************************************************/
void XMLElement::Print(XMLNode *pCur, OUStringBuffer& buffer , bool rootelement ){
/*****************************************************************************/
- static const String COMMENT = String::CreateFromAscii("comment");
+ //YD FIXME somewhere COMMENT is defined as 4!
+ static const String _COMMENT = String::CreateFromAscii("comment");
static const OUString XML_LANG ( OUString::createFromAscii("xml-lang") );
if(pCur!=NULL){
@@ -918,7 +919,7 @@ void XMLElement::Print(XMLNode *pCur, OUStringBuffer& buffer , bool rootelement
case XML_NODE_TYPE_ELEMENT: {
XMLElement *pElement = ( XMLElement * ) pCur;
- if( !pElement->GetName().EqualsIgnoreCaseAscii( COMMENT ) ){
+ if( !pElement->GetName().EqualsIgnoreCaseAscii( _COMMENT ) ){
buffer.append( OUString::createFromAscii("\\<") );
buffer.append( pElement->GetName() );
if ( pElement->GetAttributeList()){