summaryrefslogtreecommitdiffstats
path: root/include/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 08:53:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 10:52:41 +0200
commit7aa7f4d9e4294959748bccf9e763154740251635 (patch)
tree79fc3855ce0cc1141abdda514df374cd42ab259c /include/sax
parentcoverity#1417293 'Constant' variable guards dead code (diff)
downloadcore-7aa7f4d9e4294959748bccf9e763154740251635.tar.gz
core-7aa7f4d9e4294959748bccf9e763154740251635.zip
loplugin:unnecessaryparen include c++ casts
Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb Reviewed-on: https://gerrit.libreoffice.org/41874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/fastattribs.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx
index 0a7d8712fb17..75dca6a83f7f 100644
--- a/include/sax/fastattribs.hxx
+++ b/include/sax/fastattribs.hxx
@@ -106,7 +106,7 @@ public:
const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
{
assert( dynamic_cast <FastAttributeList *> ( xAttrList.get() ) != nullptr );
- return ( static_cast <FastAttributeList *> ( xAttrList.get() ) );
+ return static_cast <FastAttributeList *> ( xAttrList.get() );
}
/// Use for fast iteration and conversion of attributes