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

Caolán McNamara caolanm at redhat.com
Mon May 23 08:09:15 UTC 2016


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

New commits:
commit 42e51c4a6320763d9b60914da4372eae9a11f17d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon May 23 09:07:24 2016 +0100

    in unlikely case >>= fails
    
    Change-Id: I368456acb085905736f1e221eeb3c79df375c7f0

diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 3018a08..abb186d 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -489,7 +489,7 @@ void VistaFilePickerImpl::impl_sta_CreateSaveDialog(const RequestRef& rRequest)
             css::uno::Sequence<sal_Int8> aProcessIdent(16);
             rtl_getGlobalProcessId((sal_uInt8*)aProcessIdent.getArray());
             css::uno::Any aAny = xSysDepWin->getWindowHandle(aProcessIdent,css::lang::SystemDependent::SYSTEM_WIN32);
-            sal_Int64 tmp;
+            sal_Int64 tmp = 0;
             aAny >>= tmp;
             if(tmp != 0)
                 m_hParentWindow = (HWND) tmp;


More information about the Libreoffice-commits mailing list