summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/flat/EConnection.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 17:51:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 17:51:11 +0100
commitbca00da68640bb052c1628270ce3924b7228d7b8 (patch)
treed03f7763ed89ffd94256e2bf0fb5b352de9b0711 /connectivity/source/drivers/flat/EConnection.cxx
parent77d844c9a92fdc1b8ffa043f46ea50bc1cfa7e05 (diff)
connectivity: Use appropriate OUString functions on string constants
Change-Id: I10b2ddf9dcc83219fea8eb55783507eed52702e8
Diffstat (limited to 'connectivity/source/drivers/flat/EConnection.cxx')
-rw-r--r--connectivity/source/drivers/flat/EConnection.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/connectivity/source/drivers/flat/EConnection.cxx b/connectivity/source/drivers/flat/EConnection.cxx
index 37d1d7877751..e3518e7dfe96 100644
--- a/connectivity/source/drivers/flat/EConnection.cxx
+++ b/connectivity/source/drivers/flat/EConnection.cxx
@@ -68,33 +68,33 @@ void OFlatConnection::construct(const OUString& url,const Sequence< PropertyValu
const PropertyValue *pEnd = pBegin + info.getLength();
for(;pBegin != pEnd;++pBegin)
{
- if(pBegin->Name.equalsAscii("HeaderLine"))
+ if(pBegin->Name == "HeaderLine")
OSL_VERIFY( pBegin->Value >>= m_bHeaderLine );
- else if(pBegin->Name.equalsAscii("FieldDelimiter"))
+ else if(pBegin->Name == "FieldDelimiter")
{
OUString aVal;
OSL_VERIFY( pBegin->Value >>= aVal );
m_cFieldDelimiter = aVal.toChar();
}
- else if(pBegin->Name.equalsAscii("StringDelimiter"))
+ else if(pBegin->Name == "StringDelimiter")
{
OUString aVal;
OSL_VERIFY( pBegin->Value >>= aVal );
m_cStringDelimiter = aVal.toChar();
}
- else if(pBegin->Name.equalsAscii("DecimalDelimiter"))
+ else if(pBegin->Name == "DecimalDelimiter")
{
OUString aVal;
OSL_VERIFY( pBegin->Value >>= aVal );
m_cDecimalDelimiter = aVal.toChar();
}
- else if(pBegin->Name.equalsAscii("ThousandDelimiter"))
+ else if(pBegin->Name == "ThousandDelimiter")
{
OUString aVal;
OSL_VERIFY( pBegin->Value >>= aVal );
m_cThousandDelimiter = aVal.toChar();
}
- else if ( pBegin->Name.equalsAscii("MaxRowScan") )
+ else if ( pBegin->Name == "MaxRowScan" )
{
pBegin->Value >>= m_nMaxRowsToScan;
}