diff options
Diffstat (limited to 'tools/source/rc')
-rw-r--r-- | tools/source/rc/rc.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/source/rc/rc.cxx b/tools/source/rc/rc.cxx index 5700f151ee46..a4bd8f269e18 100644 --- a/tools/source/rc/rc.cxx +++ b/tools/source/rc/rc.cxx @@ -39,6 +39,8 @@ void Resource::GetRes( const ResId& rResId ) IncrementRes( sizeof( RSHEADER_TYPE ) ); } +namespace tools { + Time::Time( const ResId& rResId ) { nTime = 0; @@ -59,9 +61,11 @@ Time::Time( const ResId& rResId ) // 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 ); + SetNanoSec( pResMgr->ReadShort() * ::tools::Time::nanoPerCenti ); } +} /* namespace tools */ + Date::Date( const ResId& rResId ) : nDate(0) { rResId.SetRT( RSC_DATE ); |