diff options
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 4 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaFolderPicker.mm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index b8db6d94b663..deff8783bbe9 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -253,12 +253,12 @@ uno::Sequence<OUString> SAL_CALL SalAquaFilePicker::getSelectedFiles() files = [NSArray arrayWithObjects:[m_pDialog URL], nil]; } - long nFiles = [files count]; + NSUInteger nFiles = [files count]; SAL_INFO("fpicker.aqua", "# of items: " << nFiles); uno::Sequence< OUString > aSelectedFiles(nFiles); - for(long nIndex = 0; nIndex < nFiles; nIndex += 1) + for(NSUInteger nIndex = 0; nIndex < nFiles; nIndex += 1) { NSURL *url = [files objectAtIndex:nIndex]; diff --git a/fpicker/source/aqua/SalAquaFolderPicker.mm b/fpicker/source/aqua/SalAquaFolderPicker.mm index e86110f22203..fa1285b053e9 100644 --- a/fpicker/source/aqua/SalAquaFolderPicker.mm +++ b/fpicker/source/aqua/SalAquaFolderPicker.mm @@ -114,7 +114,7 @@ OUString SAL_CALL SalAquaFolderPicker::getDirectory() files = [static_cast<NSOpenPanel*>(m_pDialog) URLs]; } - long nFiles = [files count]; + NSUInteger nFiles = [files count]; SAL_INFO("fpicker.aqua", "# of items: " << nFiles); if (nFiles < 1) { |