diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2015-05-23 22:33:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-26 15:09:21 (GMT) |
commit | ed42c203ed4b258091bd6eeaa1fe567c6f9b120a (patch) | |
tree | 1af5663f5d42da0b2304180761f801ebe97e29e1 /Source/CTest/cmCTestSVN.cxx | |
parent | 18825bafd99c6a9c8ec1fb4e7b22a8059c680572 (diff) | |
download | CMake-ed42c203ed4b258091bd6eeaa1fe567c6f9b120a.zip CMake-ed42c203ed4b258091bd6eeaa1fe567c6f9b120a.tar.gz CMake-ed42c203ed4b258091bd6eeaa1fe567c6f9b120a.tar.bz2 |
cmCTestUpdateHandler: Port to cmXMLWriter
Diffstat (limited to 'Source/CTest/cmCTestSVN.cxx')
-rw-r--r-- | Source/CTest/cmCTestSVN.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestSVN.cxx b/Source/CTest/cmCTestSVN.cxx index 86dc2f2..f7bd1f9 100644 --- a/Source/CTest/cmCTestSVN.cxx +++ b/Source/CTest/cmCTestSVN.cxx @@ -14,7 +14,7 @@ #include "cmCTest.h" #include "cmSystemTools.h" #include "cmXMLParser.h" -#include "cmXMLSafe.h" +#include "cmXMLWriter.h" #include <cmsys/RegularExpression.hxx> @@ -535,11 +535,11 @@ void cmCTestSVN::LoadModifications() } //---------------------------------------------------------------------------- -void cmCTestSVN::WriteXMLGlobal(std::ostream& xml) +void cmCTestSVN::WriteXMLGlobal(cmXMLWriter& xml) { this->cmCTestGlobalVC::WriteXMLGlobal(xml); - xml << "\t<SVNPath>" << this->RootInfo->Base << "</SVNPath>\n"; + xml.Element("SVNPath", this->RootInfo->Base); } //---------------------------------------------------------------------------- |