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

Eike Rathke erack at redhat.com
Wed Dec 3 07:38:17 PST 2014


 sc/inc/column.hxx              |    2 +-
 sc/inc/table.hxx               |    2 +-
 sc/source/core/data/table4.cxx |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ad4b7986c5ca6a5b97d09a7413adf39440eefb93
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Dec 3 16:34:35 2014 +0100

    remove boolean parameter default from ScTable::SetDirty()
    
    Change-Id: I37761c07dd72bfa25cc499c8ed41241f1ba56469

diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 78ca0d8..c7898f1 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -532,7 +532,7 @@ public:
     void        ResetChanged( const ScRange& rRange );
 
     void SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt );
-    void        SetDirty( const ScRange&, bool bIncludeEmptyCells = false );
+    void        SetDirty( const ScRange&, bool bIncludeEmptyCells );
     void        SetDirtyAfterLoad();
     void        SetDirtyVar();
     void        SetTableOpDirty( const ScRange& );
commit a1a1c4600e6c7ee457b62098128b27471c077908
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Dec 3 16:13:46 2014 +0100

    get rid of defaulted boolean parameters in ScColumn::SetDirty()
    
    Change-Id: Iba030c1a4fd3dad34bdd61377b73fa76a062b5f8

diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index bfe3fb8..7d7e39b 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -361,7 +361,7 @@ public:
 
     void SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt );
     void SetDirtyFromClip( SCROW nRow1, SCROW nRow2, sc::ColumnSpanSet& rBroadcastSpans );
-    void SetDirty( SCROW nRow1, SCROW nRow2, bool bBroadcast = true, bool bIncludeEmptyCells = false );
+    void SetDirty( SCROW nRow1, SCROW nRow2, bool bBroadcast, bool bIncludeEmptyCells );
     void        SetDirtyVar();
     void        SetDirtyAfterLoad();
     void        SetTableOpDirty( const ScRange& );
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 13a7baf..84bafad 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1184,7 +1184,7 @@ void ScTable::FillFormulaVertical(
 
     std::vector<sc::RowSpan>::const_iterator it = aSpans.begin(), itEnd = aSpans.end();
     for (; it != itEnd; ++it)
-        aCol[nCol].SetDirty(it->mnRow1, it->mnRow2, false);
+        aCol[nCol].SetDirty(it->mnRow1, it->mnRow2, false, false);
 
     rProgress += nRow2 - nRow1 + 1;
     if (pProgress)


More information about the Libreoffice-commits mailing list