summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods.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/runtime/methods.cxx
parent000c31c384c62dce9bc9160047f02cb2c62a7771 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I1e4363f917a978434fb11368918435da12531dc6
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r--basic/source/runtime/methods.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 8b40e3643ef9..d05c3fa88f18 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2533,7 +2533,7 @@ RTLFUNC(IsObject)
else
{
SbxVariable* pVar = rPar.Get(1);
- SbxBase* pObj = (SbxBase*)pVar->GetObject();
+ SbxBase* pObj = pVar->GetObject();
// #100385: GetObject can result in an error, so reset it
SbxBase::ResetError();