From ad2340a3d965a18d457fadbd75fa6504834fe068 Mon Sep 17 00:00:00 2001 From: Alberto Massari <amassari@apache.org> Date: Wed, 4 Jan 2012 10:06:15 +0000 Subject: [PATCH] Remove tabs git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@1227095 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/dom/impl/DOMLSSerializerImpl.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp b/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp index 6524febb8..d09c44d2a 100644 --- a/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp +++ b/src/xercesc/dom/impl/DOMLSSerializerImpl.cpp @@ -1742,15 +1742,15 @@ bool DOMLSSerializerImpl::isNamespaceBindingActive(const XMLCh* prefix, const XM void DOMLSSerializerImpl::ensureValidString(const DOMNode* nodeToWrite, const XMLCh* string) { // XERCESC-1854: prevent illegal characters from being written - if(string==0) - return; - const XMLCh* cursor=string; - while(*cursor!=0) - { + if(string==0) + return; + const XMLCh* cursor=string; + while(*cursor!=0) + { if((fIsXml11 && !XMLChar1_1::isXMLChar(*cursor)) || (!fIsXml11 && !XMLChar1_0::isXMLChar(*cursor))) reportError(nodeToWrite, DOMError::DOM_SEVERITY_FATAL_ERROR, XMLDOMMsg::INVALID_CHARACTER_ERR); - cursor++; - } + cursor++; + } } XERCES_CPP_NAMESPACE_END -- GitLab