diff options
Diffstat (limited to 'fpicker/source/win32/filepicker/controlaccess.cxx')
-rw-r--r-- | fpicker/source/win32/filepicker/controlaccess.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fpicker/source/win32/filepicker/controlaccess.cxx b/fpicker/source/win32/filepicker/controlaccess.cxx index bd07ba357ca6..8a1df18d8c45 100644 --- a/fpicker/source/win32/filepicker/controlaccess.cxx +++ b/fpicker/source/win32/filepicker/controlaccess.cxx @@ -183,7 +183,8 @@ namespace // private stc2, // LISTBOX_FILTER_LABEL stc3 // LISTBOX_FILE_NAME_LABEL }; - const int SIZE_WINDOWS_FILEOPEN_CTRL_IDS = SAL_N_ELEMENTS(WindowsFileOpenCtrlIds); + const int SIZE_WINDOWS_FILEOPEN_CTRL_IDS = + sizeof(WindowsFileOpenCtrlIds)/sizeof(WindowsFileOpenCtrlIds[0]); }; // end namespace |