summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/templatedlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/templatedlg.cxx')
-rw-r--r--sfx2/source/doc/templatedlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 941f451f1916..114c6a7120a0 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -988,7 +988,7 @@ void SfxTemplateManagerDlg::OnTemplateExport()
else
aPathObj.setName(aItemPath.getName());
- OUString aPath = aPathObj.GetMainURL( INetURLObject::NO_DECODE );
+ OUString aPath = aPathObj.GetMainURL( INetURLObject::DecodeMechanism::NONE );
if (!mpLocalView->exportTo(pItem->mnAssocId,pItem->mnRegionId,aPath))
{
@@ -1019,7 +1019,7 @@ void SfxTemplateManagerDlg::OnTemplateExport()
else
aPathObj.setName(aItemPath.getName());
- OUString aPath = aPathObj.GetMainURL( INetURLObject::NO_DECODE );
+ OUString aPath = aPathObj.GetMainURL( INetURLObject::DecodeMechanism::NONE );
if (!mpLocalView->exportTo(pItem->mnDocId + 1, //mnId w.r.t. region = mDocId + 1
mpLocalView->getRegionId(pItem->mnRegionId), //pItem->mnRegionId does not store actual region Id