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

Michael Meeks michael.meeks at collabora.com
Sat May 24 13:47:06 PDT 2014


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

New commits:
commit 6540350a710bcd194fda42827878e6eb1b3c45e7
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Fri May 23 21:51:14 2014 +0100

    sc: constify GetCellGroup.
    
    Change-Id: I50d47b19391c6b54570bc3982b8ec22563662983

diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx
index 11c5cb1..3301d1e 100644
--- a/sc/inc/formulacell.hxx
+++ b/sc/inc/formulacell.hxx
@@ -375,7 +375,7 @@ public:
      * Turn a non-grouped cell into the top of a grouped cell.
      */
     ScFormulaCellGroupRef CreateCellGroup( SCROW nLen, bool bInvariant );
-    ScFormulaCellGroupRef GetCellGroup();
+    ScFormulaCellGroupRef GetCellGroup() const;
     void SetCellGroup( const ScFormulaCellGroupRef &xRef );
 
     CompareState CompareByTokenArray( ScFormulaCell& rOther ) const;
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index 1e63308..5a79aaa 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -3534,7 +3534,7 @@ ScFormulaCellGroupRef ScFormulaCell::CreateCellGroup( SCROW nLen, bool bInvarian
     return mxGroup;
 }
 
-ScFormulaCellGroupRef ScFormulaCell::GetCellGroup()
+ScFormulaCellGroupRef ScFormulaCell::GetCellGroup() const
 {
     return mxGroup;
 }


More information about the Libreoffice-commits mailing list