Kaydet (Commit) 69ebf1c0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

const_cast: convert some C-style casts and remove some redundant ones

Change-Id: I3f5293be44ba87122de639f75ca477af827a1c51
üst b95a8866
...@@ -138,7 +138,7 @@ OString createFileNameFromType( const OString& destination, ...@@ -138,7 +138,7 @@ OString createFileNameFromType( const OString& destination,
} }
#if defined(SAL_UNX) #if defined(SAL_UNX)
if (mkdir((char*)buffer.getStr(), 0777) == -1) if (mkdir(buffer.getStr(), 0777) == -1)
#else #else
if (mkdir((char*)buffer.getStr()) == -1) if (mkdir((char*)buffer.getStr()) == -1)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment