summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-11 11:08:45 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-11 11:08:45 +0100
commit31b72c3f3b632329d01b295d449eac0e38cea58c (patch)
tree7dd303cff6c916e8e509e0b47716e523caa2dfcf /connectivity
parent87e5271ca967a93e5acb2605c36554752d2314a8 (diff)
dba32e: unxsoli compiler warned about unreachable code detecting an errornous commit this way
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/dbtools.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index bb088937c313..f00cfe14a9e5 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -1955,7 +1955,8 @@ void setObjectWithInfo(const Reference<XParameters>& _xParams,
case DataType::BOOLEAN:
_xParams->setBoolean(parameterIndex,_rValue);
break;
- if ( _rValue.isSigned() )
+ case DataType::TINYINT:
+ if ( _rValue.isSigned() )
_xParams->setByte(parameterIndex,_rValue);
else
_xParams->setShort(parameterIndex,_rValue);