summaryrefslogtreecommitdiff
path: root/svl/source/items/dateitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/dateitem.cxx')
-rw-r--r--svl/source/items/dateitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/dateitem.cxx b/svl/source/items/dateitem.cxx
index 5dc90ada2fbd..706d373c5371 100644
--- a/svl/source/items/dateitem.cxx
+++ b/svl/source/items/dateitem.cxx
@@ -163,7 +163,7 @@ bool SfxDateTimeItem::PutValue( const com::sun::star::uno::Any& rVal,
Time( aValue.Hours,
aValue.Minutes,
aValue.Seconds,
- aValue.HundredthSeconds ) );
+ aValue.NanoSeconds ) );
return true;
}
@@ -177,7 +177,7 @@ bool SfxDateTimeItem::QueryValue( com::sun::star::uno::Any& rVal,
sal_uInt8 nMemberId ) const
{
nMemberId &= ~CONVERT_TWIPS;
- com::sun::star::util::DateTime aValue( aDateTime.Get100Sec(),
+ com::sun::star::util::DateTime aValue( aDateTime.GetNanoSec(),
aDateTime.GetSec(),
aDateTime.GetMin(),
aDateTime.GetHour(),