summaryrefslogtreecommitdiff
path: root/sc/inc/scmatrix.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-12-04 00:29:29 +0100
committerEike Rathke <erack@redhat.com>2013-12-04 00:38:12 +0100
commit882665d821a2fc705b7ae03372c2ae7593028210 (patch)
tree4aa50b2feef62ede33b8873149e5c685cb86e0c0 /sc/inc/scmatrix.hxx
parentbfd1909c87d0d645f1bbb74a142172ecc15100e8 (diff)
resolved fdo#72288 made case insensitive matrix string query work again
The SharedString stored at ScQueryEntry::Item was constructed from an OUString passed from ScMatrixValue::GetString() so rItem.maString.getDataIgnoreCase() in QueryEvaluator::compareByString() was NULL and never evaluated equal. Made ScMatrixValue::GetString() return a SharedString instead. Change-Id: I473d5724dfb97707fea58e6b72b1396c049b79c8
Diffstat (limited to 'sc/inc/scmatrix.hxx')
-rw-r--r--sc/inc/scmatrix.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index f2508a658a08..93105dd316df 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -54,7 +54,7 @@ struct ScMatrixValue
ScMatValType nType;
/// Only valid if ScMatrix methods indicate so!
- OUString GetString() const { return aStr.getString(); }
+ svl::SharedString GetString() const { return aStr; }
/// Only valid if ScMatrix methods indicate that this is no string!
sal_uInt16 GetError() const { return GetDoubleErrorValue( fVal); }