diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:56:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:24:39 +0100 |
commit | ead15254172d7d1f9f838cf21b4e5c246bfc7ca3 (patch) | |
tree | 7e4d7621d602b76b133f04c2cad8572ab778dada /connectivity/source/drivers/file/fcode.cxx | |
parent | 1b574435a591695fac694f7129631312b05ef06e (diff) |
bool improvements
Change-Id: If35c939adede6a912dee14714a7ceeab84ac977e
Diffstat (limited to 'connectivity/source/drivers/file/fcode.cxx')
-rw-r--r-- | connectivity/source/drivers/file/fcode.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/file/fcode.cxx b/connectivity/source/drivers/file/fcode.cxx index fb3883cb572b..ba787a7cc8e4 100644 --- a/connectivity/source/drivers/file/fcode.cxx +++ b/connectivity/source/drivers/file/fcode.cxx @@ -86,7 +86,7 @@ void OOperandRow::bindValue(const OValueRefRow& _pRow) OSL_ENSURE(_pRow.is(),"NO EMPTY row allowed!"); m_pRow = _pRow; OSL_ENSURE(m_pRow.is() && m_nRowPos < m_pRow->get().size(),"Invalid RowPos is >= vector.size()"); - (m_pRow->get())[m_nRowPos]->setBound(sal_True); + (m_pRow->get())[m_nRowPos]->setBound(true); } // ----------------------------------------------------------------------------- void OOperandRow::setValue(const ORowSetValue& _rVal) @@ -160,13 +160,13 @@ OOperandConst::OOperandConst(const OSQLParseNode& rColumnRef, const OUString& aS case SQL_NODE_STRING: m_aValue = aStrValue; m_eDBType = DataType::VARCHAR; - m_aValue.setBound(sal_True); + m_aValue.setBound(true); return; case SQL_NODE_INTNUM: case SQL_NODE_APPROXNUM: m_aValue = aStrValue.toDouble(); m_eDBType = DataType::DOUBLE; - m_aValue.setBound(sal_True); + m_aValue.setBound(true); return; default: break; @@ -186,7 +186,7 @@ OOperandConst::OOperandConst(const OSQLParseNode& rColumnRef, const OUString& aS { SAL_WARN( "connectivity.drivers", "Parse Error"); } - m_aValue.setBound(sal_True); + m_aValue.setBound(true); } ///////////////////////////////////////////////////////////////////////////////////////// |