summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext2.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:44 +0200
commitcec7d0a908292d065e239024dee06c82ee16809b (patch)
tree7eadecf45f2b682f767812aef32c6d9fb3686b04 /editeng/source/uno/unotext2.cxx
parent1cb4a7554a21952a323f3e2bbf533b005daf4d00 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I0d15a14209768ef0292d9abdf00e8fa571cf90da
Diffstat (limited to 'editeng/source/uno/unotext2.cxx')
-rw-r--r--editeng/source/uno/unotext2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext2.cxx b/editeng/source/uno/unotext2.cxx
index 3c9cf39c3467..165d85d4561e 100644
--- a/editeng/source/uno/unotext2.cxx
+++ b/editeng/source/uno/unotext2.cxx
@@ -239,7 +239,7 @@ void SAL_CALL SvxUnoTextContent::dispose()
mbDisposing = true;
lang::EventObject aEvt;
- aEvt.Source = *(OWeakAggObject*) this;
+ aEvt.Source = *static_cast<OWeakAggObject*>(this);
maDisposeListeners.disposeAndClear(aEvt);
if( mxParentText.is() )