summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unofield.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/uno/unofield.cxx')
-rw-r--r--editeng/source/uno/unofield.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx
index e84482e707e3..8d46c15f8729 100644
--- a/editeng/source/uno/unofield.cxx
+++ b/editeng/source/uno/unofield.cxx
@@ -201,7 +201,7 @@ static util::DateTime getTime(sal_Int64 const nTime)
util::DateTime aTime;
memset( &aTime, 0, sizeof( util::DateTime ) );
- Time aTempTime( nTime );
+ tools::Time aTempTime( nTime );
aTime.NanoSeconds = aTempTime.GetNanoSec();
aTime.Seconds = aTempTime.GetSec();
@@ -211,9 +211,9 @@ static util::DateTime getTime(sal_Int64 const nTime)
return aTime;
}
-inline Time setTime( util::DateTime& rDate )
+inline tools::Time setTime( util::DateTime& rDate )
{
- return Time( rDate.Hours, rDate.Minutes, rDate.Seconds, rDate.NanoSeconds );
+ return tools::Time( rDate.Hours, rDate.Minutes, rDate.Seconds, rDate.NanoSeconds );
}
@@ -398,7 +398,7 @@ SvxFieldData* SvxUnoTextField::CreateFieldData() const throw()
{
if( mnServiceId != text::textfield::Type::TIME && mnServiceId != text::textfield::Type::DATE )
{
- Time aTime( setTime( mpImpl->maDateTime ) );
+ tools::Time aTime( setTime( mpImpl->maDateTime ) );
pData = new SvxExtTimeField( aTime, mpImpl->mbBoolean1?SVXTIMETYPE_FIX:SVXTIMETYPE_VAR );
if( mpImpl->mnInt32 >= SVXTIMEFORMAT_APPDEFAULT && mpImpl->mnInt32 <= SVXTIMEFORMAT_AM_HMSH )