[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Mon Jul 15 10:48:05 PDT 2013


 sc/source/core/data/column3.cxx |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

New commits:
commit 466cb70c14ffbf6831b68f44173941af0e617f82
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Mon Jul 15 13:48:07 2013 -0400

    No point having this indirection.
    
    Change-Id: Idab46933ef6740e478f44e8b420805de9bc39b82

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 07d6e94..5288cc5 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -66,11 +66,8 @@ using ::com::sun::star::i18n::LocaleDataItem;
 // Err527 Workaroand
 extern const ScFormulaCell* pLastFormulaTreeTop; // in cellform.cxx
 using namespace formula;
-// STATIC DATA -----------------------------------------------------------
 
-namespace {
-
-void broadcastCells(ScDocument& rDoc, SCCOL nCol, SCROW nTab, const std::vector<SCROW>& rRows)
+void ScColumn::BroadcastCells( const std::vector<SCROW>& rRows )
 {
     if (rRows.empty())
         return;
@@ -81,17 +78,10 @@ void broadcastCells(ScDocument& rDoc, SCCOL nCol, SCROW nTab, const std::vector<
     for (; itRow != itRowEnd; ++itRow)
     {
         aHint.GetAddress().SetRow(*itRow);
-        rDoc.Broadcast(aHint);
+        pDocument->Broadcast(aHint);
     }
 }
 
-}
-
-void ScColumn::BroadcastCells( const std::vector<SCROW>& rRows )
-{
-    broadcastCells(*pDocument, nCol, nTab, rRows);
-}
-
 struct DirtyCellInterpreter
 {
     void operator() (size_t, ScFormulaCell* p)


More information about the Libreoffice-commits mailing list