diff options
-rw-r--r-- | sax/source/expatwrap/attrlistimpl.cxx | 2 |
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) ); } |