summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-28 15:21:34 +0100
committerMichael Stahl <mstahl@redhat.com>2013-10-28 15:21:54 +0100
commitbb13b922b66d14f40a0be16bc380e462a1ea6432 (patch)
tree2f13396c7528566fb45526511f6f06328a8fabe4 /fpicker
parent9d1fd7936d02510e7a7a4c887f48ace4b5bb251f (diff)
fpicker: warning C4018: '<': signed/unsigned mismatch
Change-Id: I51652d573f59e6ca3b00385790bf14d478f03074
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
index 1e5f9cd61bcf..2494e15e40c9 100644
--- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx
@@ -901,7 +901,8 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest)
hResult = iDialog->GetFileTypeIndex(&nFileType);
if ( SUCCEEDED(hResult) && nFileType > 0 )
{
- ::sal_Int32 nRealIndex = (nFileType-1); // COM dialog base on 1 ... filter container on 0 .-)
+ // COM dialog base on 1 ... filter container on 0 .-)
+ ::size_t nRealIndex = (nFileType-1);
::std::vector< COMDLG_FILTERSPEC > lFilters = lcl_buildFilterList(m_lFilters);
if ( nRealIndex < lFilters.size() )
{