summaryrefslogtreecommitdiff
path: root/linguistic/source/dlistimp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:26:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:26:23 +0200
commit801b9823a0f1974517a4021b9519cfda8cda1626 (patch)
tree79cfe73b6a422d9c0fd5c5243524e2a94e435ac8 /linguistic/source/dlistimp.cxx
parente12fa69f6eba31ffef4c2ed848ee5a91723df094 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I34315c0e76ee89e456f50776ef3393dc9408e8fd
Diffstat (limited to 'linguistic/source/dlistimp.cxx')
-rw-r--r--linguistic/source/dlistimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index 7d39be0e0c2e..9231a18cbb1b 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -387,7 +387,7 @@ uno::Reference< XInterface > SAL_CALL
DicList_CreateInstance( const uno::Reference< XMultiServiceFactory > & /*rSMgr*/ )
throw(Exception)
{
- uno::Reference< XInterface > xService = (cppu::OWeakObject *) new DicList;
+ uno::Reference< XInterface > xService = static_cast<cppu::OWeakObject *>(new DicList);
return xService;
}
@@ -580,7 +580,7 @@ void SAL_CALL
if (!bDisposing)
{
bDisposing = true;
- EventObject aEvtObj( (XDictionaryList *) this );
+ EventObject aEvtObj( static_cast<XDictionaryList *>(this) );
aEvtListeners.disposeAndClear( aEvtObj );
if (pDicEvtLstnrHelper)