diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:49:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:49:32 +0200 |
commit | b5b73ed868732f3ac12f5261c7e5cb14e0eab644 (patch) | |
tree | 974caad9f70da3aad0371e166e2503f4b4133005 /editeng/source/uno/unotext.cxx | |
parent | 5d9fe3793ad1bcabafd108ecf036dd389a873fc0 (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I94230f5d0838f26173eb17401f7bf22ab126e7ef
Diffstat (limited to 'editeng/source/uno/unotext.cxx')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index b3cf7127b0a8..ed896e2e2ac8 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -1973,7 +1973,7 @@ uno::Reference< text::XText > SAL_CALL SvxUnoTextBase::getText() { ESelection aSelection; ::GetSelection( aSelection, GetEditSource()->GetTextForwarder() ); - ((SvxUnoTextBase*)this)->SetSelection( aSelection ); + SetSelection( aSelection ); } return (text::XText*)this; |