loplugin:constparams: shell (clang-cl)

Change-Id: I7ffe60d53f4c4b7690efc8bec9d29a4959740d9a
This commit is contained in:
Stephan Bergmann 2017-08-31 12:10:27 +02:00
parent 3c665f5dab
commit b2d56c8b58
2 changed files with 3 additions and 3 deletions

View File

@ -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++)
{

View File

@ -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)