summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:06:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:25 +0100
commit84676d50ca5d6e75dc194540ee9d5d37dec0c5fe (patch)
treedab8e941b51d2a0aa666e6f296f0be9891b346cd /shell
parent65e9940d8d13e0e2ac9cac3421955124d1c73390 (diff)
Clean up C-style casts from pointers to void
Change-Id: Iaae87d77ea48207c3277e7107b339296f6a99772
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/gconfbe/gconfaccess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index a30623832d09..ec2c0cadb828 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -261,7 +261,7 @@ uno::Any translateToOOo( const ConfigurationValue &rValue, GConfValue *pGconfVal
GSList * list = gconf_value_get_list(pGconfValue);
for(; list; list = g_slist_next(list))
{
- aBuffer.append(gconf_value_get_string((GConfValue *) list->data) + OString(";"));
+ aBuffer.append(gconf_value_get_string(static_cast<GConfValue *>(list->data)) + OString(";"));
}
// Remove trailing ";"
aBuffer.setLength(aBuffer.getLength()-1);