summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xmlserializer/XmlMemoryDocSource.cpp16
-rw-r--r--xmlserializer/XmlMemoryDocSource.h4
2 files changed, 0 insertions, 20 deletions
diff --git a/xmlserializer/XmlMemoryDocSource.cpp b/xmlserializer/XmlMemoryDocSource.cpp
index 9f1c5ad..ffa86e3 100644
--- a/xmlserializer/XmlMemoryDocSource.cpp
+++ b/xmlserializer/XmlMemoryDocSource.cpp
@@ -67,9 +67,6 @@ bool CXmlMemoryDocSource::populate(CXmlSerializingContext& serializingContext)
// Schema location
docElement.setAttributeString("xsi:noNamespaceSchemaLocation", _strXmlSchemaFile);
-
- // Comment for date/time
- docElement.setComment(string(" Exported on ") + getTimeAsString() + " from " + _strProduct + " version " + _strVersion + " ");
}
// Compose the xml document
@@ -77,16 +74,3 @@ bool CXmlMemoryDocSource::populate(CXmlSerializingContext& serializingContext)
return true;
}
-
-string CXmlMemoryDocSource::getTimeAsString()
-{
- char acBuf[200];
- time_t t;
- struct tm *tmp;
- t = time(NULL);
- tmp = localtime(&t);
-
- strftime(acBuf, sizeof(acBuf), "%F, %T", tmp);
-
- return acBuf;
-}
diff --git a/xmlserializer/XmlMemoryDocSource.h b/xmlserializer/XmlMemoryDocSource.h
index c507282..4a1de63 100644
--- a/xmlserializer/XmlMemoryDocSource.h
+++ b/xmlserializer/XmlMemoryDocSource.h
@@ -52,8 +52,4 @@ private:
// Product and version info
string _strProduct;
string _strVersion;
-
- // Get the current system time
- static string getTimeAsString();
-
};