summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/handler/vcl_time_handler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/handler/vcl_time_handler.cxx')
-rw-r--r--xmloff/source/forms/handler/vcl_time_handler.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/forms/handler/vcl_time_handler.cxx b/xmloff/source/forms/handler/vcl_time_handler.cxx
index c02c2e6e2c1e..2bedb56cc775 100644
--- a/xmloff/source/forms/handler/vcl_time_handler.cxx
+++ b/xmloff/source/forms/handler/vcl_time_handler.cxx
@@ -50,7 +50,7 @@ namespace xmloff
OUString VCLTimeHandler::getAttributeValue( const Any& i_propertyValue ) const
{
- Time aTime;
+ css::util::Time aTime;
OSL_VERIFY( i_propertyValue >>= aTime );
Duration aDuration; // default-inited to 0
@@ -67,7 +67,7 @@ namespace xmloff
bool VCLTimeHandler::getPropertyValues( const OUString& i_attributeValue, PropertyValues& o_propertyValues ) const
{
Duration aDuration;
- Time aTime;
+ css::util::Time aTime;
if (::sax::Converter::convertDuration( aDuration, i_attributeValue ))
{
aTime = Time(aDuration.NanoSeconds, aDuration.Seconds,
@@ -84,8 +84,8 @@ namespace xmloff
return false;
}
// legacy integer was in centiseconds
- nVCLTime *= ::Time::nanoPerCenti;
- aTime = ::Time(nVCLTime).GetUNOTime();
+ nVCLTime *= ::tools::Time::nanoPerCenti;
+ aTime = ::tools::Time(nVCLTime).GetUNOTime();
}
const Any aPropertyValue( makeAny( aTime ) );