summaryrefslogtreecommitdiff
path: root/tools/source/rc/rc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/rc/rc.cxx')
-rw-r--r--tools/source/rc/rc.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/source/rc/rc.cxx b/tools/source/rc/rc.cxx
index 87ec7667d4eb..7ebdae058461 100644
--- a/tools/source/rc/rc.cxx
+++ b/tools/source/rc/rc.cxx
@@ -54,7 +54,10 @@ Time::Time( const ResId& rResId )
if ( 0x04 & nObjMask )
SetSec( (sal_uInt16)pResMgr->ReadShort() );
if ( 0x08 & nObjMask )
- Set100Sec( (sal_uInt16)pResMgr->ReadShort() );
+ // TODO: when we change the place that writes this binary resource format to match:
+ // SetNanoSec( pResMgr->ReadLong() );
+ // In the meantime:
+ SetNanoSec( pResMgr->ReadShort() * ::Time::nanoPerCenti );
}
Date::Date( const ResId& rResId ) : nDate(0)