sc/inc/document.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cbbdcfd49db545f4f3e4041453706f33065267b7
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Mon May 9 11:10:43 2022 +0200
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Mon May 9 21:12:14 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>

diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 8e79d31e5ff3..2518acd63773 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2657,9 +2657,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?
@@ -2684,6 +2681,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 );

Reply via email to