summaryrefslogtreecommitdiff
path: root/sc/source/ui/xmlsource/xmlsourcedlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 08:47:18 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-02 11:12:39 -0500
commit3de922d4a695e253d4ca2d42b70e0b35b52e9b7c (patch)
tree9d0055989b261d5b4dafaa5b78d5a472d71b8ec3 /sc/source/ui/xmlsource/xmlsourcedlg.cxx
parent736cd289d4cdb0db61d92134bcc9d48aa7e79613 (diff)
convert DecodeMechanism to scoped enum
(cherry picked from commit bfde4866e07746eafa2f0d6173c29d805cc35ad0) Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
Diffstat (limited to 'sc/source/ui/xmlsource/xmlsourcedlg.cxx')
-rw-r--r--sc/source/ui/xmlsource/xmlsourcedlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/xmlsource/xmlsourcedlg.cxx b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
index bbadc7f03704..2d6bafeba7d6 100644
--- a/sc/source/ui/xmlsource/xmlsourcedlg.cxx
+++ b/sc/source/ui/xmlsource/xmlsourcedlg.cxx
@@ -193,7 +193,7 @@ void ScXMLSourceDlg::SelectSourceFile()
INetURLObject aURL(maSrcPath);
aURL.removeSegment();
aURL.removeFinalSlash();
- OUString aPath = aURL.GetMainURL(INetURLObject::NO_DECODE);
+ OUString aPath = aURL.GetMainURL(INetURLObject::DecodeMechanism::NONE);
xFilePicker->setDisplayDirectory(aPath);
}