summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-29 12:05:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-29 12:05:03 +0200
commit696f96f34b9e4cc384ecb3481b018301f493fc23 (patch)
treefc3bdedfa171e02a20fea868187979e90a57c8e3 /vcl/unx
parent148953244fc8d741ef84ef777ad566ae80edd28a (diff)
loplugin:redundantcast: const_cast to same type
Change-Id: I610fd4cf9339fd5c18eb77e7c94ffd0f99e9b125
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkPicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
index 4aaa69fabcd8..c7a30e9852a0 100644
--- a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx
@@ -47,7 +47,7 @@ OUString SalGtkPicker::uritounicode(const gchar* pIn)
if (!pIn)
return OUString();
- OUString sURL( const_cast<const sal_Char *>(pIn), strlen(pIn),
+ OUString sURL( pIn, strlen(pIn),
RTL_TEXTENCODING_UTF8 );
INetURLObject aURL(sURL);