Kaydet (Commit) 5143e162 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

isEmpty() instead of getLength()==0

Change-Id: I610ecd58f3f7fa7f3ab04db8b17259bbc54c2b74
üst f0c38b63
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment