diff options
author | scito <info@scito.ch> | 2021-05-24 22:10:18 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-05-25 23:18:44 +0200 |
commit | 0563867d60ad477235bb5595c895a4f1e06a53b1 (patch) | |
tree | 0cf159f83a5f8d408af5cc6efa9721547710d07f /sc | |
parent | 807f3508c9319d7f94820ea1282e306594418fce (diff) |
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@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/column.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
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 ); |