summaryrefslogtreecommitdiff
path: root/fpicker/source/aqua/SalAquaFolderPicker.mm
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/aqua/SalAquaFolderPicker.mm')
-rw-r--r--fpicker/source/aqua/SalAquaFolderPicker.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/aqua/SalAquaFolderPicker.mm b/fpicker/source/aqua/SalAquaFolderPicker.mm
index 51da7ede79b9..a419701a9129 100644
--- a/fpicker/source/aqua/SalAquaFolderPicker.mm
+++ b/fpicker/source/aqua/SalAquaFolderPicker.mm
@@ -132,7 +132,7 @@ rtl::OUString SAL_CALL SalAquaFolderPicker::getDirectory()
NSArray *files = nil;
if (m_nDialogType == NAVIGATIONSERVICES_DIRECTORY) {
- files = [(NSOpenPanel*)m_pDialog URLs];
+ files = [static_cast<NSOpenPanel*>(m_pDialog) URLs];
}
long nFiles = [files count];