summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
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() )
{