summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-23 06:44:42 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-04-23 06:45:58 +0200
commit5143e162f81ec64db4ed2b11a3a79183c4901c79 (patch)
treee56e8f622e93b1651ceebeb19a8563e2b4c2582b /connectivity
parentf0c38b6355333c0bbb02e52a732f04ab0d519ecf (diff)
isEmpty() instead of getLength()==0
Change-Id: I610ecd58f3f7fa7f3ab04db8b17259bbc54c2b74
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/parse/sqlnode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 795d4e6bb1a5..ea384acee320 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -475,7 +475,7 @@ void OSQLParseNode::impl_parseNodeToString_throw(OUStringBuffer& rString, const
// a criterion inside a query view (and rString is supposed
// to be initially empty). In order to simplify criterion text
// inside view, omit fieldname if it appears as 1st token.
- if ((rString.getLength() == 0) && rParam.xField.is() && SQL_ISRULE(pSubTree,column_ref))
+ if (rString.isEmpty() && rParam.xField.is() && SQL_ISRULE(pSubTree,column_ref))
{
sal_Bool bFilter = sal_False;
// retrieve the fields name