From 1baf49d146d4cc870bf095fd1498339d18ef97b6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 28 Mar 2015 19:05:09 +0100 Subject: [PATCH] Clean up C-style casts from pointers to void Change-Id: I9159db9b8fdbabefe29bcc606ec27c1709a620dd --- linguistic/source/gciterator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index cefe6805ad44..9d84b09ddcf1 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -225,7 +225,7 @@ extern "C" void lcl_workerfunc (void * gci) { osl_setThreadName("GrammarCheckingIterator"); - ((GrammarCheckingIterator*)gci)->DequeueAndCheck(); + static_cast(gci)->DequeueAndCheck(); } static lang::Locale lcl_GetPrimaryLanguageOfSentence(