summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-11 17:38:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-11 17:38:37 +0100
commit28270d93c029091805c3c169294b6ce6ae2067f0 (patch)
tree41c06b5b8ad7a7146edfac2a9e1824150cd5216c /connectivity
parente84c8b27dd1460ad6abec406037f06a3b00a97ac (diff)
loplugin:redundantcast: connectivity
(after a to-be-committed improved loplugin:cstylecast would have rewritten the C-style casts into static_casts) Change-Id: I43a148a0d192f85bbad95696c7c3c3e717c5b00a
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mork/MorkParser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mork/MorkParser.cxx b/connectivity/source/drivers/mork/MorkParser.cxx
index 78f1f417e4c4..62167e1614a2 100644
--- a/connectivity/source/drivers/mork/MorkParser.cxx
+++ b/connectivity/source/drivers/mork/MorkParser.cxx
@@ -739,7 +739,7 @@ void MorkParser::dump()
TableIter != iter->second.map.end(); ++TableIter )
{
std::cout << "\t Table:"
- << ( ( int ) TableIter->first < 0 ? "-" : " " )
+ << ( TableIter->first < 0 ? "-" : " " )
<< TableIter->first << std::endl;
for (RowScopeMap::Map::const_iterator RowScopeIter = TableIter->second.map.begin();
@@ -752,7 +752,7 @@ void MorkParser::dump()
RowIter != RowScopeIter->second.map.end(); ++RowIter )
{
std::cout << "\t\t\t Row Id:"
- << ((int) RowIter->first < 0 ? "-" : " ")
+ << (RowIter->first < 0 ? "-" : " ")
<< RowIter->first << std::endl;
std::cout << "\t\t\t\t Cells:" << std::endl;