Kaydet (Commit) a38e1be9 authored tarafından Eike Rathke's avatar Eike Rathke

use DateTime instead of separate Date and Time

Change-Id: I82cccaabbcf481367e55c52682d0ff765b4a8671
üst ac604d21
...@@ -433,10 +433,7 @@ void ScXMLChangeTrackingImportHelper::EndChangeAction() ...@@ -433,10 +433,7 @@ void ScXMLChangeTrackingImportHelper::EndChangeAction()
void ScXMLChangeTrackingImportHelper::ConvertInfo(const ScMyActionInfo& aInfo, OUString& rUser, DateTime& aDateTime) void ScXMLChangeTrackingImportHelper::ConvertInfo(const ScMyActionInfo& aInfo, OUString& rUser, DateTime& aDateTime)
{ {
Date aDate(aInfo.aDateTime); aDateTime = DateTime( aInfo.aDateTime);
tools::Time aTime(aInfo.aDateTime);
aDateTime.SetDate( aDate.GetDate() );
aDateTime.SetTime( aTime.GetTime() );
// old files didn't store nanoseconds, enable again // old files didn't store nanoseconds, enable again
if ( aInfo.aDateTime.NanoSeconds ) if ( aInfo.aDateTime.NanoSeconds )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment