diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:32:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:39 +0100 |
commit | 0c141f2ed5219e7329fd94681d68e2205e2ed285 (patch) | |
tree | 5f93e6e8edb298785881313497d110379b78d235 /ucb/source/ucp/gio | |
parent | a98c1692a6f98d73b38692131eebe7acce963299 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I6a27fd990895ff36b35d2de6278ca0416e6c00f7
Diffstat (limited to 'ucb/source/ucp/gio')
-rw-r--r-- | ucb/source/ucp/gio/gio_seekable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/gio/gio_seekable.cxx b/ucb/source/ucp/gio/gio_seekable.cxx index 940375dbd4e9..ec326cfe545e 100644 --- a/ucb/source/ucp/gio/gio_seekable.cxx +++ b/ucb/source/ucp/gio/gio_seekable.cxx @@ -86,8 +86,8 @@ sal_Int64 SAL_CALL Seekable::getLength() throw( io::IOException, uno::RuntimeExc sal_uInt64 nSize = 0; GFileInfo* pInfo = G_IS_FILE_INPUT_STREAM(mpStream) - ? g_file_input_stream_query_info(G_FILE_INPUT_STREAM(mpStream), const_cast<char*>(G_FILE_ATTRIBUTE_STANDARD_SIZE), NULL, NULL) - : g_file_output_stream_query_info(G_FILE_OUTPUT_STREAM(mpStream), const_cast<char*>(G_FILE_ATTRIBUTE_STANDARD_SIZE), NULL, NULL); + ? g_file_input_stream_query_info(G_FILE_INPUT_STREAM(mpStream), G_FILE_ATTRIBUTE_STANDARD_SIZE, NULL, NULL) + : g_file_output_stream_query_info(G_FILE_OUTPUT_STREAM(mpStream), G_FILE_ATTRIBUTE_STANDARD_SIZE, NULL, NULL); if (pInfo) { |