From ec3067809b09107fac6e4e53d94adbe3e9f3de9b Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Tue, 11 Mar 2003 20:13:59 +0000 Subject: Src/cppunit/XmlElement. src/cppunit/XmlElement.cpp: * src/examples/CppUnitTest/XmlUniformser.cpp: fixed bug #676505 (no space between attributes of XmlElement). --- src/cppunit/XmlElement.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cppunit/XmlElement.cpp') diff --git a/src/cppunit/XmlElement.cpp b/src/cppunit/XmlElement.cpp index 88c4746..cdaaa69 100644 --- a/src/cppunit/XmlElement.cpp +++ b/src/cppunit/XmlElement.cpp @@ -176,6 +176,9 @@ XmlElement::attributesAsString() const Attributes::const_iterator itAttribute = m_attributes.begin(); while ( itAttribute != m_attributes.end() ) { + if ( !attributes.empty() ) + attributes += " "; + const Attribute &attribute = *itAttribute++; attributes += attribute.first; attributes += "=\""; -- cgit v1.2.1