summaryrefslogtreecommitdiffstats
path: root/xmlserializer/XmlFileDocSink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer/XmlFileDocSink.cpp')
-rw-r--r--xmlserializer/XmlFileDocSink.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlserializer/XmlFileDocSink.cpp b/xmlserializer/XmlFileDocSink.cpp
index 4a2b13f..d59ead4 100644
--- a/xmlserializer/XmlFileDocSink.cpp
+++ b/xmlserializer/XmlFileDocSink.cpp
@@ -1,6 +1,6 @@
/*
* INTEL CONFIDENTIAL
- * Copyright © 2011 Intel
+ * Copyright © 2013 Intel
* Corporation All Rights Reserved.
*
* The source code contained or described herein and all documents related to
@@ -18,8 +18,6 @@
* of the Materials, either expressly, by implication, inducement, estoppel or
* otherwise. Any license under such intellectual property rights must be
* express and approved by Intel in writing.
- *
- * CREATED: 2012-08-10
*/
#include "XmlFileDocSink.h"
@@ -32,10 +30,12 @@ CXmlFileDocSink::CXmlFileDocSink(const string& strXmlInstanceFile):
{
}
-bool CXmlFileDocSink::doProcess(CXmlDocSource& xmlDocSource, CXmlSerializingContext& serializingContext)
+bool CXmlFileDocSink::doProcess(CXmlDocSource& xmlDocSource,
+ CXmlSerializingContext& serializingContext)
{
// Write file (formatted)
- if (xmlSaveFormatFileEnc(_strXmlInstanceFile.c_str(), xmlDocSource.getDoc(), "UTF-8", 1) == -1) {
+ if (xmlSaveFormatFileEnc(_strXmlInstanceFile.c_str(),
+ xmlDocSource.getDoc(), "UTF-8", 1) == -1) {
serializingContext.setError("Could not write file " + _strXmlInstanceFile);