diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-01-03 23:31:12 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-03 23:31:12 -0500 |
commit | 7e199cbc036236d5090976f67eede98c05f89867 (patch) | |
tree | 46eefd46c875152fdb93b069a2470646d40d6720 /sc/inc/column.hxx | |
parent | 9f659bea26f52006d8ee44ba71ffd1c7dca2234d (diff) |
Let's use sal_uInt32 over sal_uIntPtr.
In most uses of ULONG, ULONG isn't really expected to be 64-bit in
size when in 64-bit platforms. Substituting it with 32-bit integer
is sufficient.
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r-- | sc/inc/column.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 4a0e9c46601b..9d4bb026e66a 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -142,7 +142,7 @@ public: bool Search( SCROW nRow, SCSIZE& nIndex ) const; ScBaseCell* GetCell( SCROW nRow ) const; void Insert( SCROW nRow, ScBaseCell* pCell ); - void Insert( SCROW nRow, sal_uIntPtr nFormatIndex, ScBaseCell* pCell ); + void Insert( SCROW nRow, sal_uInt32 nFormatIndex, ScBaseCell* pCell ); void Append( SCROW nRow, ScBaseCell* pCell ); void Delete( SCROW nRow ); void DeleteAtIndex( SCSIZE nIndex ); @@ -255,8 +255,8 @@ public: void GetFormula( SCROW nRow, String& rFormula ) const; CellType GetCellType( SCROW nRow ) const; SCSIZE GetCellCount() const { return nCount; } - sal_uIntPtr GetWeightedCount() const; - sal_uIntPtr GetCodeCount() const; // RPN-Code in Formeln + sal_uInt32 GetWeightedCount() const; + sal_uInt32 GetCodeCount() const; // RPN-Code in Formeln sal_uInt16 GetErrCode( SCROW nRow ) const; bool HasStringData( SCROW nRow ) const; @@ -306,7 +306,7 @@ public: const ScPatternAttr* GetPattern( SCROW nRow ) const; const ScPatternAttr* GetMostUsedPattern( SCROW nStartRow, SCROW nEndRow ) const; - sal_uIntPtr GetNumberFormat( SCROW nRow ) const; + sal_uInt32 GetNumberFormat( SCROW nRow ) const; sal_uInt32 GetNumberFormat( SCROW nStartRow, SCROW nEndRow ) const; void MergeSelectionPattern( ScMergePatternState& rState, const ScMarkData& rMark, bool bDeep ) const; |