diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 22:25:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-28 08:44:47 +0100 |
commit | 3493c74970f4023490d7e13833c24c9c6d434e18 (patch) | |
tree | 8a31d03dfc9bd004795f7e93e1c7751da277c770 /fpicker | |
parent | 1ef0dd7aefd9be9e267196b90b53fce19a2fe988 (diff) |
Avoid ambiguity which OUStringBuffer ctor to select
...for size_t (i.e., unsigned long long on Windows 64-bit), chosing among the
int, unsigned int, long, unsigned long overloads. MSVC apparently happily picks
one of them, but clang-cl rightly complains.
Change-Id: Ib245925bdf9e4a34add6ca435a95559f4f07c4d7
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/FileOpenDlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/win32/filepicker/FileOpenDlg.cxx b/fpicker/source/win32/filepicker/FileOpenDlg.cxx index 6e4b24201504..924687980bd2 100644 --- a/fpicker/source/win32/filepicker/FileOpenDlg.cxx +++ b/fpicker/source/win32/filepicker/FileOpenDlg.cxx @@ -38,9 +38,9 @@ namespace /* private */ // OK button so that we determine the size of the text // currently in the edit field and resize our buffer // appropriately - in the future we will do this - const size_t MAX_FILENAME_BUFF_SIZE = 32000; - const size_t MAX_FILETITLE_BUFF_SIZE = 32000; - const size_t MAX_FILTER_BUFF_SIZE = 4096; + const sal_Int32 MAX_FILENAME_BUFF_SIZE = 32000; + const sal_Int32 MAX_FILETITLE_BUFF_SIZE = 32000; + const sal_Int32 MAX_FILTER_BUFF_SIZE = 4096; const LPCTSTR CURRENT_INSTANCE = TEXT("CurrInst"); |