summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:27 +0200
commit2c2bafeedf6a7ce99f8c30d1f69ef9d0a0bf8587 (patch)
tree1dc03ea6206181bc50da821e8935bf98f868e4f0 /sax
parent30b089fe491b391931470e960b4af2ccaca9408a (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8c84f0f6aeb38147432ce5393b0286c379c6e135
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/attrlistimpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/expatwrap/attrlistimpl.cxx b/sax/source/expatwrap/attrlistimpl.cxx
index 0eba8f06217d..481e46fbcc10 100644
--- a/sax/source/expatwrap/attrlistimpl.cxx
+++ b/sax/source/expatwrap/attrlistimpl.cxx
@@ -128,7 +128,7 @@ OUString AttributeList::getValueByName(const OUString& sName) throw (RuntimeExce
Reference< XCloneable > AttributeList::createClone() throw (RuntimeException, std::exception)
{
AttributeList *p = new AttributeList( *this );
- return Reference< XCloneable > ( (XCloneable * ) p );
+ return Reference< XCloneable > ( static_cast<XCloneable *>(p) );
}