summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:32 +0200
commitb5b73ed868732f3ac12f5261c7e5cb14e0eab644 (patch)
tree974caad9f70da3aad0371e166e2503f4b4133005 /editeng/source/uno/unotext.cxx
parent5d9fe3793ad1bcabafd108ecf036dd389a873fc0 (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.cxx2
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;