summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2015-08-29 18:05:33 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-09-03 08:19:57 +0000
commit8775593bcc543b3d7021e20736f42fa13035870d (patch)
tree867c810f7bb1048e8309b5dc132074e15b9977a8 /fpicker
parent2564ef96d295b2e09fb5e382c8f76924ea2cdb5c (diff)
tdf#93634 repair getDisplayDirectory for Windows filepicker
Change wrong PROP_FILENAME to correct PROP_DIRECTORY Change-Id: Iab2e16c486f487699e1574ed508539d95884bf9b Reviewed-on: https://gerrit.libreoffice.org/18127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 1270079af7c3..2411c74d2965 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -246,7 +246,7 @@ OUString SAL_CALL VistaFilePicker::getDisplayDirectory()
RequestRef rRequest(new Request());
rRequest->setRequest (VistaFilePickerImpl::E_GET_DIRECTORY);
m_aAsyncExecute.triggerRequestThreadAware(rRequest, AsyncRequests::BLOCKED);
- const OUString sDirectory = rRequest->getArgumentOrDefault(PROP_FILENAME, OUString());
+ const OUString sDirectory = rRequest->getArgumentOrDefault(PROP_DIRECTORY, OUString());
return sDirectory;
}