[Libreoffice-commits] core.git: sc/inc

scito (via logerrit) logerrit at kemper.freedesktop.org
Tue May 25 21:19:27 UTC 2021


 sc/inc/column.hxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 0563867d60ad477235bb5595c895a4f1e06a53b1
Author:     scito <info at scito.ch>
AuthorDate: Mon May 24 22:10:18 2021 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Tue May 25 23:18:44 2021 +0200

    tdf#116413 keep AttachNewFormulaCell methods together
    
    Add public block instead of moving method to a public block.
    This was suggested in
    https://gerrit.libreoffice.org/c/core/+/114641/11/sc/inc/column.hxx#724
    
    Change-Id: I30fd8f3348cdcc047d5b0d8856920b6e4e4a0c63
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116076
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 560fb1d33b96..20ae065c1613 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -719,9 +719,6 @@ public:
     SCSIZE      GetPatternCount( SCROW nRow1, SCROW nRow2 ) const;
     bool        ReservePatternCount( SCSIZE nReserve );
 
-    void AttachNewFormulaCells(const sc::CellStoreType::position_type& aPos, size_t nLength,
-                               std::vector<SCROW>& rNewSharedRows);
-
 private:
 
     sc::CellStoreType::iterator GetPositionToInsert( SCROW nRow, std::vector<SCROW>& rNewSharedRows,
@@ -739,6 +736,11 @@ private:
         const std::vector<SCROW>& rNewSharedRows,
         bool bJoin = true, sc::StartListeningType eListenType = sc::SingleCellListening );
 
+public:
+    void AttachNewFormulaCells(const sc::CellStoreType::position_type& aPos, size_t nLength,
+                               std::vector<SCROW>& rNewSharedRows);
+
+private:
     void BroadcastNewCell( SCROW nRow );
     bool UpdateScriptType( sc::CellTextAttr& rAttr, SCROW nRow, sc::CellStoreType::iterator& itr );
 


More information about the Libreoffice-commits mailing list