summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-18 21:31:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:51 +0100
commitdcfb17b8054179776d98f57a778da486c92d250e (patch)
treec2b193092e94207e94a15cfe6967268b3c67f0cb /shell
parent42a53497708e8b3b9b2d93bd39ac782fc185ac3e (diff)
Some more loplugin:cstylecast: shell
Change-Id: I8d9846dcfd8b0f686f7321a3e7b7b0d70428723d
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/gconfbe/gconfaccess.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index bd419c9bff62..a30623832d09 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -126,7 +126,7 @@ static OUString xdg_user_dir_lookup (const char *type)
if(osl_File_E_None == osl_openFile(aConfigFileURL.pData, &handle, osl_File_OpenFlag_Read))
{
rtl::ByteSequence seq;
- while (osl_File_E_None == osl_readLine(handle , (sal_Sequence **)&seq))
+ while (osl_File_E_None == osl_readLine(handle , reinterpret_cast<sal_Sequence **>(&seq)))
{
/* Remove newline at end */
int relative = 0;
@@ -134,7 +134,7 @@ static OUString xdg_user_dir_lookup (const char *type)
if(len>0 && seq[len-1] == '\n')
seq[len-1] = 0;
- p = (char *)seq.getArray();
+ p = reinterpret_cast<char *>(seq.getArray());
while (*p == ' ' || *p == '\t')
p++;
if (strncmp (p, "XDG_", 4) != 0)