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

Caolán McNamara caolanm at redhat.com
Fri Jan 30 01:11:17 PST 2015


 sc/source/core/tool/address.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b2df899dbb038acfe3c47eef303345ceaf3725b8
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 30 09:10:34 2015 +0000

    fix build
    
    Change-Id: Ib2ab6140c45b858acbe0b97870d2d64c7189d875

diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index 69ed16b..f5f1018 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1710,14 +1710,14 @@ template <typename T > static inline void lcl_a1_append_c ( T &rString, int nCol
     lcl_ScColToAlpha( rString, sal::static_int_cast<SCCOL>(nCol) );
 }
 
-template <typename T > static inline void lcl_a1_append_r ( T &rString, int nRow, bool bIsAbs )
+template <typename T > static inline void lcl_a1_append_r ( T &rString, sal_Int32 nRow, bool bIsAbs )
 {
     if ( bIsAbs )
         rString.append("$");
     rString.append( nRow + 1 );
 }
 
-template <typename T > static inline void lcl_r1c1_append_c ( T &rString, int nCol, bool bIsAbs,
+template <typename T > static inline void lcl_r1c1_append_c ( T &rString, sal_Int32 nCol, bool bIsAbs,
                                        const ScAddress::Details& rDetails )
 {
     rString.append("C");
@@ -1734,7 +1734,7 @@ template <typename T > static inline void lcl_r1c1_append_c ( T &rString, int nC
     }
 }
 
-template <typename T > static inline void lcl_r1c1_append_r ( T &rString, int nRow, bool bIsAbs,
+template <typename T > static inline void lcl_r1c1_append_r ( T &rString, sal_Int32 nRow, bool bIsAbs,
                                        const ScAddress::Details& rDetails )
 {
     rString.append("R");


More information about the Libreoffice-commits mailing list