diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-19 22:05:00 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-29 17:08:39 +0100 |
commit | 4202952ec911aa48908943e96dd516384193dfac (patch) | |
tree | 4e2460cbe29a87ef4a01649b76c93d69eaf034d3 /desktop | |
parent | b0e1a040f475254195dc25393c89bda9071dbdf4 (diff) |
loplugin:cstylecast
Change-Id: Ib4052fa88cce3b21d20d050fff9c8d32fcde4c20
(cherry picked from commit 10c9f31ad7d0696327b67b6d2a4e3f244473d877)
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a02a3a2ce272..2d2e9f02ea71 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1617,7 +1617,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) |