summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-23 09:07:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-23 09:08:41 +0100
commit42e51c4a6320763d9b60914da4372eae9a11f17d (patch)
tree511f4868131c277490c98c5db424ee1cc71494d3 /fpicker
parentlok: Subcribe to more uno commands for state change (diff)
downloadcore-42e51c4a6320763d9b60914da4372eae9a11f17d.tar.gz
core-42e51c4a6320763d9b60914da4372eae9a11f17d.zip
in unlikely case >>= fails
Change-Id: I368456acb085905736f1e221eeb3c79df375c7f0
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 3018a08282c2..abb186d62b9d 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;