summaryrefslogtreecommitdiff
path: root/sw/source/filter/basflt/shellio.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/basflt/shellio.cxx')
-rw-r--r--sw/source/filter/basflt/shellio.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx
index c9f300379892..113fe38f8bd1 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -463,7 +463,7 @@ SwDoc* Reader::GetTemplateDoc()
else
{
INetURLObject aTDir( aTemplateNm );
- const OUString aFileName = aTDir.GetMainURL( INetURLObject::NO_DECODE );
+ const OUString aFileName = aTDir.GetMainURL( INetURLObject::DecodeMechanism::NONE );
OSL_ENSURE( !aTDir.HasError(), "No absolute path for template name!" );
DateTime aCurrDateTime( DateTime::SYSTEM );
bool bLoad = false;
@@ -474,7 +474,7 @@ SwDoc* Reader::GetTemplateDoc()
Date aTstDate( Date::EMPTY );
tools::Time aTstTime( tools::Time::EMPTY );
if( FStatHelper::GetModifiedDateTimeOfFile(
- aTDir.GetMainURL( INetURLObject::NO_DECODE ),
+ aTDir.GetMainURL( INetURLObject::DecodeMechanism::NONE ),
&aTstDate, &aTstTime ) &&
( !pTemplate || aDStamp != aTstDate || aTStamp != aTstTime ))
{