summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 14:59:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-27 22:11:58 +0200
commit1325d8161a74a3cedc169952eca10f4343e700c4 (patch)
tree16a084086ecf14d0b6febfea22e4905349809abe /fpicker
parenttdf#137470 use a more proper URL for the extensions (diff)
downloadcore-1325d8161a74a3cedc169952eca10f4343e700c4.tar.gz
core-1325d8161a74a3cedc169952eca10f4343e700c4.zip
loplugin:moveopt
An attempt that did not find anything convincing enough to finish it up and make it permanently active. So just leave it in /store for now. Change-Id: I1750e177655a4a510da100f880ba81bf762be277 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114742 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index dd8e0d58203d..3386979e4714 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -144,8 +144,7 @@ void SvtFilePicker::prepareExecute()
aPath = givenPath;
else
{
- INetURLObject aStdDirObj( SvtPathOptions().GetWorkPath() );
- aPath = aStdDirObj;
+ aPath = INetURLObject( SvtPathOptions().GetWorkPath() );
}
if ( !m_aDefaultName.isEmpty() )
{