diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-09 09:04:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-09 09:04:59 +0100 |
commit | 22aed8e030b5803cbfe5ac964bc6d8cdabf50875 (patch) | |
tree | 366d22e0ba7442dfef09450b6b3b3a50b9f11030 | |
parent | 0c61ffc15ecd8122cb9102d2591561e1d4e37327 (diff) |
Use OUString::startsWith
Change-Id: I703148113f4df43d17500478509a9e2089999bf6
-rw-r--r-- | sc/source/core/data/dpobject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index e8b384c4184f..43d97fc3ce2c 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 |