[Libreoffice-commits] core.git: oox/source
Lionel Elie Mamane
lionel at mamane.lu
Fri Jul 5 00:54:53 PDT 2013
oox/source/docprop/docprophandler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a0939a7b9293e1c1b179ede96f1a3a76ef0c884d
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Fri Jul 5 09:53:57 2013 +0200
fixup nanosecond precision
Change-Id: Ia33b811d56fe5ad5e7e844b3e1c1c25ece0b5396
diff --git a/oox/source/docprop/docprophandler.cxx b/oox/source/docprop/docprophandler.cxx
index 85df37d..92a7d49 100644
--- a/oox/source/docprop/docprophandler.cxx
+++ b/oox/source/docprop/docprophandler.cxx
@@ -154,7 +154,7 @@ util::DateTime OOXMLDocPropHandler::GetDateTimeFromW3CDTF( const OUString& aChar
}
}
- return util::DateTime( (sal_uInt16)( aOslDTime.NanoSeconds / 1e7 ), aOslDTime.Seconds, aOslDTime.Minutes, aOslDTime.Hours, aOslDTime.Day, aOslDTime.Month, aOslDTime.Year );
+ return util::DateTime( aOslDTime.NanoSeconds, aOslDTime.Seconds, aOslDTime.Minutes, aOslDTime.Hours, aOslDTime.Day, aOslDTime.Month, aOslDTime.Year );
}
// ------------------------------------------------
More information about the Libreoffice-commits
mailing list