diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:28:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:29 +0100 |
commit | 69ebf1c01df31769ba806bb30947e127ec100772 (patch) | |
tree | b785a4d63b013c404de9b320b899b905521fb00e /codemaker | |
parent | b95a886603c8302838ee4598ce8c7e47a4ab6d9e (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I3f5293be44ba87122de639f75ca477af827a1c51
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index ee12bc54b15b..7ac1e7c546a7 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -138,7 +138,7 @@ OString createFileNameFromType( const OString& destination, } #if defined(SAL_UNX) - if (mkdir((char*)buffer.getStr(), 0777) == -1) + if (mkdir(buffer.getStr(), 0777) == -1) #else if (mkdir((char*)buffer.getStr()) == -1) #endif |