summaryrefslogtreecommitdiff
path: root/fpicker/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-10-01 07:05:18 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-10-01 07:05:18 +0000
commit21e15edc7ea870c8d3549730201d1b0c47dcebad (patch)
treebcad36eb509e2843780037e906224277d1368480 /fpicker/source
parentdd4c6408dd88ab2975bdf3070e8c3366469c6b4c (diff)
CWS-TOOLING: integrate CWS mingwport15
Diffstat (limited to 'fpicker/source')
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 09e62f2992cc..623d4d9d922e 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -565,7 +565,11 @@ void VistaFilePickerImpl::impl_sta_setFiltersOnDialog()
aLock.clear();
// <- SYNCHRONIZED
+#ifdef __MINGW32__
+ iDialog->QueryInterface(IID_IFileDialog, (void **)(&iCustomize));
+#else
iDialog.query(&iCustomize);
+#endif
COMDLG_FILTERSPEC *pFilt = &lFilters[0];
iDialog->SetFileTypes(lFilters.size(), pFilt/*&lFilters[0]*/);