diff options
-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]; |