diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-04-06 17:16:41 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-14 12:31:55 +0200 |
commit | 60c8df432619e4aaf90e92e18f096a43acb3a30f (patch) | |
tree | 86d0d6dc6a7a6d1313c8e2427d0ddccc400513eb /connectivity/source/commontools/FValue.cxx | |
parent | 18c7992d7ff66e796f18eeeb44b62a78f74f820a (diff) |
remove static strings
Diffstat (limited to 'connectivity/source/commontools/FValue.cxx')
-rw-r--r-- | connectivity/source/commontools/FValue.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx index d8bc37fdef1b..4958bf62d8a2 100644 --- a/connectivity/source/commontools/FValue.cxx +++ b/connectivity/source/commontools/FValue.cxx @@ -1077,14 +1077,12 @@ bool ORowSetValue::getBool() const case DataType::LONGVARCHAR: { const OUString sValue(m_aValue.m_pString); - const static OUString s_sTrue("true"); - const static OUString s_sFalse("false"); - if ( sValue.equalsIgnoreAsciiCase(s_sTrue) || (sValue == "1") ) + if ( sValue.equalsIgnoreAsciiCase("true") || (sValue == "1") ) { bRet = true; break; } - else if ( sValue.equalsIgnoreAsciiCase(s_sFalse) || (sValue == "0") ) + else if ( sValue.equalsIgnoreAsciiCase("false") || (sValue == "0") ) { bRet = false; break; |