From 9830fd36dbdb72c79703b0c61efc027fba793c5a Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sun, 17 Mar 2013 08:36:26 +0100 Subject: date/time IDL datatypes incompatible change - nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6 --- filter/source/msfilter/svdfppt.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'filter') diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 104db58723a7..b8b680bfe67a 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -118,6 +118,7 @@ #include #include #include +#include // PPT ColorScheme Slots #define PPT_COLSCHEME (0x08000000) @@ -2673,11 +2674,11 @@ void ImportComment10( SvxMSDffManager& rMan, SvStream& rStCtrl, SdrPage* pPage, >> aDateTime.Hours >> aDateTime.Minutes >> aDateTime.Seconds - >> aDateTime.HundredthSeconds + >> aDateTime.NanoSeconds >> nPosX >> nPosY; - aDateTime.HundredthSeconds /= 10; + aDateTime.NanoSeconds *= ::Time::nanoPerMilli; } break; } -- cgit