summaryrefslogtreecommitdiffstats
path: root/sc/inc
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 /sc/inc
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 'sc/inc')
-rw-r--r--sc/inc/queryparam.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx
index 3b406bb49bc5..0c704789e004 100644
--- a/sc/inc/queryparam.hxx
+++ b/sc/inc/queryparam.hxx
@@ -150,8 +150,8 @@ template<typename charT, typename traits>
inline std::basic_ostream<charT, traits> & operator <<(std::basic_ostream<charT, traits> & stream, const ScQueryParam& rParam)
{
stream << "{" <<
- "base=" << *(static_cast<const ScQueryParamBase*>(&rParam)) <<
- ",table=" << *(static_cast<const ScQueryParamTable*>(&rParam)) <<
+ "base=" << *static_cast<const ScQueryParamBase*>(&rParam) <<
+ ",table=" << *static_cast<const ScQueryParamTable*>(&rParam) <<
",destPers=" << (rParam.bDestPers?"YES":"NO") <<
",destTab=" << rParam.nDestTab <<
",destCol=" << rParam.nDestCol <<