[Libreoffice-commits] core.git: fpicker/source

Michael Stahl mstahl at redhat.com
Thu Apr 25 16:05:26 PDT 2013


 fpicker/source/win32/filepicker/VistaFilePicker.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 52b618e196f25c9b4c8a20064e2c97e6d5c82368
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Apr 25 23:40:49 2013 +0200

    VistaFilePicker::getDisplayDirectory(): s/NON_BLOCKED/BLOCKED/
    
    All getter methods in this class use BLOCKED, all setter methods use
    NON_BLOCKED... except for getDisplayDirectory(), without any hint as
    to why it might be different... so make it consistent.
    
    Change-Id: I3c90ea6560944f9e7033a26f4419003f154a520c

diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 77a8618..2bf2e28 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -243,7 +243,7 @@ OUString SAL_CALL VistaFilePicker::getDisplayDirectory()
 {
     RequestRef rRequest(new Request());
     rRequest->setRequest (VistaFilePickerImpl::E_GET_DIRECTORY);
-    m_aAsyncExecute.triggerRequestThreadAware(rRequest, AsyncRequests::NON_BLOCKED);
+    m_aAsyncExecute.triggerRequestThreadAware(rRequest, AsyncRequests::BLOCKED);
     const OUString sDirectory = rRequest->getArgumentOrDefault(PROP_FILENAME, OUString());
 
     return sDirectory;


More information about the Libreoffice-commits mailing list