[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Mon Dec 9 00:05:36 PST 2013
sc/source/core/data/dpobject.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 22aed8e030b5803cbfe5ac964bc6d8cdabf50875
Author: Stephan Bergmann <sbergman at 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
More information about the Libreoffice-commits
mailing list