sc/inc/document.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 2a0ea9c49084e31e5ef01bd824be53882e97f4a7 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Mon May 9 11:10:43 2022 +0200 Commit: Szymon Kłos <szymon.k...@collabora.com> CommitDate: Sun Sep 25 21:18:30 2022 +0200 make ScDocument::FetchTable() public I don't see why it should be private, it's range checked, so there should be no harm. Especially when a number of classes get declared as friends to get access to it anyway. Change-Id: I333d749aa9d09aaf9dcbabf43d67a67d1257a132 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134051 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139471 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 1c26604a4fb5..4f06b4b6473b 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -2655,9 +2655,6 @@ private: ScDocument& mrDoc; }; - ScTable* FetchTable( SCTAB nTab ); - const ScTable* FetchTable( SCTAB nTab ) const; - void MergeNumberFormatter(const ScDocument& rSrcDoc); void ImplCreateOptions(); // Suggestion: switch to on-demand? @@ -2682,6 +2679,9 @@ private: bool HasPartOfMerged( const ScRange& rRange ); public: + ScTable* FetchTable( SCTAB nTab ); + const ScTable* FetchTable( SCTAB nTab ) const; + ScRefCellValue GetRefCellValue( const ScAddress& rPos ); private: ScRefCellValue GetRefCellValue( const ScAddress& rPos, sc::ColumnBlockPosition& rBlockPos );