From ee5443b8daef4196150fd7e4e98e8ed8ffec219f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 22 Jan 2015 19:35:41 +0100 Subject: [PATCH] loplugin:cstylecast (MACOSX) Change-Id: I1dac5542d711133f30fb4e61590a19bd2beccf53 --- lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index aa06d130b05f..609e315f7f93 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -360,7 +360,7 @@ Reference< XSpellAlternatives > { // if needed add: if (suglst[ii] == NULL) continue; NSString* guess = [guesses objectAtIndex:ii]; - OUString cvtwrd((const sal_Unicode*)[guess cStringUsingEncoding:NSUnicodeStringEncoding], (sal_Int32)[guess length]); + OUString cvtwrd(reinterpret_cast([guess cStringUsingEncoding:NSUnicodeStringEncoding]), (sal_Int32)[guess length]); pStr[ii] = cvtwrd; } }