summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-19 22:05:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-19 22:05:00 +0100
commit10c9f31ad7d0696327b67b6d2a4e3f244473d877 (patch)
tree8c1013accae8835d4c32451b824919aa85dfcd98
parent005bc2c94f8e075207d5e53c1494e4e66607062a (diff)
loplugin:cstylecast
Change-Id: Ib4052fa88cce3b21d20d050fff9c8d32fcde4c20
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index d2b4f6027de8..6b8f36984dc1 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1576,7 +1576,7 @@ static char* lo_getError (LibreOfficeKit *pThis)
}
static void lo_freeError(const char *pfree)
{
- free((void *) pfree);
+ free(const_cast<char *>(pfree));
}
static char* lo_getFilterTypes(LibreOfficeKit* pThis)