diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-19 09:27:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-19 09:27:49 +0200 |
commit | 685e30c3bdd010d09ac585bd621dd17149e5cb77 (patch) | |
tree | 8fa2ff35fcad4f190b3fc96c289dc2d794f7f999 /writerperfect/source/common | |
parent | f9568335a653f72732f9c8ebf007cf8850021ff9 (diff) |
loplugin:cstylecast
Change-Id: I0ef11bcb30bcfbecf5afe5c4c38391acc7b72968
Diffstat (limited to 'writerperfect/source/common')
-rw-r--r-- | writerperfect/source/common/WPFTEncodingDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<sal_IntPtr>(box->GetSelectEntryData()); if (pos<0||pos>=numEncodings()) return OUString(); return s_encodings[2*pos]; |