diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2021-02-17 15:20:34 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-03-01 16:39:10 +0100 |
commit | f37f159f2e0c7abe45ac7a3eec447f1234ad1662 (patch) | |
tree | 5fae50ec3efa6e25783cff95cce12257e102c0a4 /sc/inc | |
parent | 493a916a3113e877835c9bc7c93faef0d29f9a33 (diff) |
tdf#140462 sc ODF import: fix empty autofilter columns
(followed a date type autofilter column) by setting
QueryType to ByDate at ODF import.
Change-Id: Ie78cb15885dfb1e40c9e8ac993ff79b19fe17993
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111070
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 1 | ||||
-rw-r--r-- | sc/inc/table.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index ae66e0a0fb8e..111956304334 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -2063,6 +2063,7 @@ public: void Reorder( const sc::ReorderParam& rParam ); + void PrepareQuery( SCTAB nTab, ScQueryParam& rQueryParam ); SCSIZE Query( SCTAB nTab, const ScQueryParam& rQueryParam, bool bKeepSub ); SC_DLLPUBLIC bool CreateQueryParam( const ScRange& rRange, ScQueryParam& rQueryParam ); void GetUpperCellString(SCCOL nCol, SCROW nRow, SCTAB nTab, OUString& rStr); diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index fed4d4b12388..9e8e6233295a 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -949,6 +949,7 @@ public: bool* pbTestEqualCondition = nullptr, const ScInterpreterContext* pContext = nullptr, sc::TableColumnBlockPositionSet* pBlockPos = nullptr ); void TopTenQuery( ScQueryParam& ); + void PrepareQuery( ScQueryParam& rQueryParam ); SCSIZE Query(const ScQueryParam& rQueryParam, bool bKeepSub); bool CreateQueryParam(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam); |