sc/source/core/data/dpobject.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 22aed8e030b5803cbfe5ac964bc6d8cdabf50875 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Dec 9 09:04:22 2013 +0100 Use OUString::startsWith Change-Id: I703148113f4df43d17500478509a9e2089999bf6 diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index e8b384c..43d97fc 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -1797,7 +1797,7 @@ bool ScDPObject::ParseFilters( aRemaining = comphelper::string::stripStart(aRemaining, ' '); // field name has to be followed by item name in brackets - if (!aRemaining.isEmpty() && aRemaining[0] == '[') + if (aRemaining.startsWith("[")) { bHasFieldName = true; // bUsed remains false - still need the item _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits