Kaydet (Commit) 685e30c3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast

Change-Id: I0ef11bcb30bcfbecf5afe5c4c38391acc7b72968
üst f9568335
...@@ -114,7 +114,7 @@ void EncodingImplementation::selectEncoding(ListBox *box, const OUString *encodi ...@@ -114,7 +114,7 @@ void EncodingImplementation::selectEncoding(ListBox *box, const OUString *encodi
OUString EncodingImplementation::getEncoding(ListBox *box) 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()) if (pos<0||pos>=numEncodings())
return OUString(); return OUString();
return s_encodings[2*pos]; return s_encodings[2*pos];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment