diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-04 00:29:29 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-04 00:38:12 +0100 |
commit | 882665d821a2fc705b7ae03372c2ae7593028210 (patch) | |
tree | 4aa50b2feef62ede33b8873149e5c685cb86e0c0 /sc/inc/scmatrix.hxx | |
parent | bfd1909c87d0d645f1bbb74a142172ecc15100e8 (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.hxx | 2 |
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); } |