[Libreoffice-commits] core.git: svl/source
Eike Rathke
erack at redhat.com
Thu Oct 22 14:43:35 PDT 2015
svl/source/items/srchitem.cxx | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
New commits:
commit 4ce262f779bad300d6bf6daec1d5ad7ee9979345
Author: Eike Rathke <erack at redhat.com>
Date: Thu Oct 22 23:34:50 2015 +0200
SRCH_PARA_ALLTABLES could never be queried
... in SvxSearchItem::QueryValue() all-properties sequence
(nMemberId=0) as it was overwritten by SRCH_PARA_SEARCHFILTERED.
Copy&paste error since 26d5cf1ecadc17e5c6aff071b8750b9fadaa1d28
Change-Id: Iccb9cca0ca9ecb2e9754f1895899e0432312608c
diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx
index e367b07..62b9d93 100644
--- a/svl/source/items/srchitem.cxx
+++ b/svl/source/items/srchitem.cxx
@@ -389,16 +389,16 @@ bool SvxSearchItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMembe
aSeq[5].Value <<= m_bRowDirection;
aSeq[6].Name = SRCH_PARA_ALLTABLES;
aSeq[6].Value <<= m_bAllTables;
- aSeq[6].Name = SRCH_PARA_SEARCHFILTERED;
- aSeq[6].Value <<= m_bSearchFiltered;
- aSeq[7].Name = SRCH_PARA_BACKWARD;
- aSeq[7].Value <<= m_bBackward;
- aSeq[8].Name = SRCH_PARA_PATTERN;
- aSeq[8].Value <<= m_bPattern;
- aSeq[9].Name = SRCH_PARA_CONTENT;
- aSeq[9].Value <<= m_bContent;
- aSeq[10].Name = SRCH_PARA_ASIANOPT;
- aSeq[10].Value <<= m_bAsianOptions;
+ aSeq[7].Name = SRCH_PARA_SEARCHFILTERED;
+ aSeq[7].Value <<= m_bSearchFiltered;
+ aSeq[8].Name = SRCH_PARA_BACKWARD;
+ aSeq[8].Value <<= m_bBackward;
+ aSeq[9].Name = SRCH_PARA_PATTERN;
+ aSeq[9].Value <<= m_bPattern;
+ aSeq[10].Name = SRCH_PARA_CONTENT;
+ aSeq[10].Value <<= m_bContent;
+ aSeq[11].Name = SRCH_PARA_ASIANOPT;
+ aSeq[11].Value <<= m_bAsianOptions;
rVal <<= aSeq;
}
break;
More information about the Libreoffice-commits
mailing list