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

Eike Rathke erack at redhat.com
Tue Dec 9 08:13:26 PST 2014


 sc/inc/column.hxx              |    1 -
 sc/source/core/data/column.cxx |   13 -------------
 2 files changed, 14 deletions(-)

New commits:
commit 3d2ee524942c063ee13645723bb60db35255e350
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Dec 9 17:11:22 2014 +0100

    remove now unused BROADCAST_ALL_POSITIONS case
    
    Change-Id: I4e6b362f31d93964567fe9ca394cd96568981746

diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index bef0d05..1d7078f 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -172,7 +172,6 @@ public:
     {
         BROADCAST_NONE,             ///< no broadcasting
         BROADCAST_DATA_POSITIONS,   ///< broadcast existing cells with position => does AreaBroadcast
-        BROADCAST_ALL_POSITIONS,    ///< broadcast all cells, including empty, with position => does AreaBroadcast
         BROADCAST_BROADCASTERS      ///< broadcast only existing cell broadcasters => no AreaBroadcast of range!
     };
 
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 77c51ea..e5b67f8 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -3109,19 +3109,6 @@ void ScColumn::SetDirty( SCROW nRow1, SCROW nRow2, BroadcastMode eMode )
                 aHdl.broadcast();
             }
             break;
-        case BROADCAST_ALL_POSITIONS:
-            {
-                // Handler only used with formula cells.
-                SetDirtyOnRangeHandler aHdl(*this);
-                sc::ProcessFormula(maCells.begin(), maCells, nRow1, nRow2, aHdl);
-                ScHint aHint( SC_HINT_DATACHANGED, ScAddress( nCol, 0, nTab));
-                for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow)
-                {
-                    aHint.GetAddress().SetRow(nRow);
-                    pDocument->Broadcast(aHint);
-                }
-            }
-            break;
         case BROADCAST_BROADCASTERS:
             {
                 // Handler only used with formula cells.


More information about the Libreoffice-commits mailing list