sc/inc/dbdata.hxx | 1 + sc/inc/document.hxx | 2 +- sc/inc/table.hxx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-)
New commits: commit 427eecb7742a379e3087f0c53891a93da7fde891 Author: Balazs Varga <[email protected]> AuthorDate: Fri Oct 31 14:13:23 2025 +0100 Commit: Balazs Varga <[email protected]> CommitDate: Fri Oct 31 16:29:39 2025 +0100 Table Styles: fix unit test builds failer because of missing function parameteres. Change-Id: I3f1cf9eb1705c8a408d079a1edcece7bffe3afbc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193266 Reviewed-by: Balazs Varga <[email protected]> Tested-by: Balazs Varga <[email protected]> diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx index 800a09157d63..26a638df092a 100644 --- a/sc/inc/dbdata.hxx +++ b/sc/inc/dbdata.hxx @@ -36,6 +36,7 @@ class ScDocument; struct ScSortParam; struct ScQueryParam; struct ScSubTotalParam; +class ScTokenArray; class SC_DLLPUBLIC ScDatabaseSettingItem final : public SfxPoolItem { diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 0b5e24b4879c..3426aad53277 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -2241,7 +2241,7 @@ public: void Reorder( const sc::ReorderParam& rParam ); void PrepareQuery( SCTAB nTab, ScQueryParam& rQueryParam ); - SCSIZE Query( SCTAB nTab, const ScQueryParam& rQueryParam, bool bKeepSub, bool bKeepTotals ); + SCSIZE Query( SCTAB nTab, const ScQueryParam& rQueryParam, bool bKeepSub, bool bKeepTotals = false ); SC_DLLPUBLIC bool CreateQueryParam( const ScRange& rRange, ScQueryParam& rQueryParam ); OUString GetUpperCellString(SCCOL nCol, SCROW nRow, SCTAB nTab); diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 6a178c2e8258..546c7715d4f9 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -1027,7 +1027,7 @@ public: // For ValidQuery() see ScQueryEvalutor class. void TopTenQuery( ScQueryParam& ); void PrepareQuery( ScQueryParam& rQueryParam ); - SCSIZE Query(const ScQueryParam& rQueryParam, bool bKeepSub, bool bKeepTotals); + SCSIZE Query(const ScQueryParam& rQueryParam, bool bKeepSub, bool bKeepTotals = false); bool CreateQueryParam(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ScQueryParam& rQueryParam); void GetFilterEntries(SCCOL nCol, SCROW nRow1, SCROW nRow2, ScFilterEntries& rFilterEntries, bool bFiltering = false);
