diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/shlxthandler/columninfo/columninfo.cxx | 2 | ||||
-rw-r--r-- | shell/source/win32/shlxthandler/infotips/infotips.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/win32/shlxthandler/columninfo/columninfo.cxx b/shell/source/win32/shlxthandler/columninfo/columninfo.cxx index b51d00e8e8f9..7f91a1f01c6f 100644 --- a/shell/source/win32/shlxthandler/columninfo/columninfo.cxx +++ b/shell/source/win32/shlxthandler/columninfo/columninfo.cxx @@ -41,7 +41,7 @@ namespace /* private */ size_t ColumnInfoTableSize = SAL_N_ELEMENTS(ColumnInfoTable); -bool IsOOFileExtension(wchar_t* Extension) +bool IsOOFileExtension(wchar_t const * Extension) { for (size_t i = 0; i < OOFileExtensionTableSize; i++) { diff --git a/shell/source/win32/shlxthandler/infotips/infotips.cxx b/shell/source/win32/shlxthandler/infotips/infotips.cxx index 9028b69ed55f..7985cb19bc25 100644 --- a/shell/source/win32/shlxthandler/infotips/infotips.cxx +++ b/shell/source/win32/shlxthandler/infotips/infotips.cxx @@ -115,7 +115,7 @@ std::wstring getFileTypeInfo(const std::string& file_extension) /** get file size. */ -DWORD getSizeOfFile( char* FileName ) +DWORD getSizeOfFile( char const * FileName ) { HANDLE hFile = CreateFile(StringToWString(FileName).c_str(), // open file GENERIC_READ, // open for reading @@ -178,7 +178,7 @@ std::wstring formatSizeOfFile( DWORD dwSize ) /** get file size information. */ -std::wstring getFileSizeInfo(char* FileName) +std::wstring getFileSizeInfo(char const * FileName) { DWORD dwSize=getSizeOfFile(FileName); if (dwSize != INVALID_FILE_SIZE) |