From 685e30c3bdd010d09ac585bd621dd17149e5cb77 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 19 May 2015 09:27:49 +0200 Subject: loplugin:cstylecast Change-Id: I0ef11bcb30bcfbecf5afe5c4c38391acc7b72968 --- writerperfect/source/common/WPFTEncodingDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writerperfect/source/common/WPFTEncodingDialog.cxx b/writerperfect/source/common/WPFTEncodingDialog.cxx index 4e04304a5247..fa0be53f11ef 100644 --- a/writerperfect/source/common/WPFTEncodingDialog.cxx +++ b/writerperfect/source/common/WPFTEncodingDialog.cxx @@ -114,7 +114,7 @@ void EncodingImplementation::selectEncoding(ListBox *box, const OUString *encodi OUString EncodingImplementation::getEncoding(ListBox *box) { - sal_IntPtr pos=(sal_IntPtr) box->GetSelectEntryData(); + sal_IntPtr pos = reinterpret_cast(box->GetSelectEntryData()); if (pos<0||pos>=numEncodings()) return OUString(); return s_encodings[2*pos]; -- cgit