diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-05 08:47:18 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-12-02 11:12:39 -0500 |
commit | 3de922d4a695e253d4ca2d42b70e0b35b52e9b7c (patch) | |
tree | 9d0055989b261d5b4dafaa5b78d5a472d71b8ec3 /sfx2/source/doc/templatedlg.cxx | |
parent | 736cd289d4cdb0db61d92134bcc9d48aa7e79613 (diff) |
convert DecodeMechanism to scoped enum
(cherry picked from commit bfde4866e07746eafa2f0d6173c29d805cc35ad0)
Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
Diffstat (limited to 'sfx2/source/doc/templatedlg.cxx')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 4 |
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 |