diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:30:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:35 +0100 |
commit | 3ce8a7dab59b7a77e1223d1357e6c32c31e4fba6 (patch) | |
tree | 9d6b6ac9fb7e0874580568220e802ba9e0dc94cd /sal/osl/unx/tempfile.cxx | |
parent | e4fbe2582c4e042f50db3d5d86b717fe15721ab5 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I03e43d219a65aa270f73a91896e0e7a567d424bc
Diffstat (limited to 'sal/osl/unx/tempfile.cxx')
-rw-r--r-- | sal/osl/unx/tempfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/tempfile.cxx b/sal/osl/unx/tempfile.cxx index 38cc0b83502f..040d3c483042 100644 --- a/sal/osl/unx/tempfile.cxx +++ b/sal/osl/unx/tempfile.cxx @@ -192,7 +192,7 @@ static oslFileError osl_create_temp_file_impl_( rtl_uStringbuffer_newFromStr_WithLength( &tmp_file_path, - rtl_uString_getStr((rtl_uString*)pustr_base_directory), + rtl_uString_getStr(const_cast<rtl_uString*>(pustr_base_directory)), len_base_dir); rtl_uStringbuffer_ensureCapacity( |