Kaydet (Commit) bb13b922 authored tarafından Michael Stahl's avatar Michael Stahl

fpicker: warning C4018: '<': signed/unsigned mismatch

Change-Id: I51652d573f59e6ca3b00385790bf14d478f03074
üst 9d1fd793
......@@ -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() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment