summaryrefslogtreecommitdiff
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
commit59706aa9097d1c5f5b2b5f9ff9bedca0606c5fda (patch)
tree7bcea3653a174def1a1e9fa9333f1ade4e837620
parentf6306b5683149bfcba7cd3655c4405a28b1a9e44 (diff)
CWS-TOOLING: integrate CWS mingwport15
-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 0e062c18c3..38cbc2eb97 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]*/);