loplugin:cstylecast (MACOSX)

Change-Id: I1dac5542d711133f30fb4e61590a19bd2beccf53
This commit is contained in:
Stephan Bergmann
2015-01-22 19:35:41 +01:00
parent 59e928b010
commit ee5443b8da

View File

@@ -360,7 +360,7 @@ Reference< XSpellAlternatives >
{ {
// if needed add: if (suglst[ii] == NULL) continue; // if needed add: if (suglst[ii] == NULL) continue;
NSString* guess = [guesses objectAtIndex:ii]; NSString* guess = [guesses objectAtIndex:ii];
OUString cvtwrd((const sal_Unicode*)[guess cStringUsingEncoding:NSUnicodeStringEncoding], (sal_Int32)[guess length]); OUString cvtwrd(reinterpret_cast<const sal_Unicode*>([guess cStringUsingEncoding:NSUnicodeStringEncoding]), (sal_Int32)[guess length]);
pStr[ii] = cvtwrd; pStr[ii] = cvtwrd;
} }
} }