summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-22 19:35:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-22 19:36:51 +0100
commitee5443b8daef4196150fd7e4e98e8ed8ffec219f (patch)
tree5e0c23b8bedd0edf639a7c0fb9641d6191c69ae2 /lingucomponent
parent59e928b010279f002c0553b5c69a7de510ff5036 (diff)
loplugin:cstylecast (MACOSX)
Change-Id: I1dac5542d711133f30fb4e61590a19bd2beccf53
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.mm2
1 files changed, 1 insertions, 1 deletions
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<const sal_Unicode*>([guess cStringUsingEncoding:NSUnicodeStringEncoding]), (sal_Int32)[guess length]);
pStr[ii] = cvtwrd;
}
}