summaryrefslogtreecommitdiff
path: root/basic/source/classes/eventatt.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:03 +0200
commitef6877c1671d7aea608b9448baa964c006c247ba (patch)
treecc73cf240893ca4466c0f5adb5e62f3c48d7f762 /basic/source/classes/eventatt.cxx
parent000c31c384c62dce9bc9160047f02cb2c62a7771 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I1e4363f917a978434fb11368918435da12531dc6
Diffstat (limited to 'basic/source/classes/eventatt.cxx')
-rw-r--r--basic/source/classes/eventatt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index e67f5b3c7775..6472d00d0cad 100644
--- a/basic/source/classes/eventatt.cxx
+++ b/basic/source/classes/eventatt.cxx
@@ -431,7 +431,7 @@ void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, bool bWrite )
}
// Get dialog
- SbxBaseRef pObj = (SbxBase*)rPar.Get( 1 )->GetObject();
+ SbxBaseRef pObj = rPar.Get( 1 )->GetObject();
if( !(pObj && pObj->ISA(SbUnoObject)) )
{
StarBASIC::Error( SbERR_BAD_ARGUMENT );