diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-12-22 22:57:02 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-12-27 16:51:29 +0100 |
commit | e7d920da4465fd8de8b8a9f87a3589054eac73de (patch) | |
tree | 654fa5c101b1ec676109f3919f304be9590fbe5d /sc | |
parent | 7cd9eba81dc3be56def062e3f22d290636a11b1c (diff) |
sal_uLong to sal_uInt32, ScHint related
Change-Id: I84402bf4b8d69ae350f6449cf4d1fd7c5c325f3c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/brdcst.hxx | 2 | ||||
-rw-r--r-- | sc/inc/column.hxx | 2 | ||||
-rw-r--r-- | sc/inc/document.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/data/bcaslot.cxx | 6 | ||||
-rw-r--r-- | sc/source/core/data/column3.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/documen7.cxx | 4 | ||||
-rw-r--r-- | sc/source/core/inc/bcaslot.hxx | 6 | ||||
-rw-r--r-- | sc/source/core/tool/brdcst.cxx | 2 |
8 files changed, 14 insertions, 14 deletions
diff --git a/sc/inc/brdcst.hxx b/sc/inc/brdcst.hxx index 5dfdb8f46837..606541b7e189 100644 --- a/sc/inc/brdcst.hxx +++ b/sc/inc/brdcst.hxx @@ -31,7 +31,7 @@ class ScHint : public SfxSimpleHint ScAddress aAddress; public: - ScHint( sal_uLong n, const ScAddress& a ); + ScHint( sal_uInt32 n, const ScAddress& a ); const ScAddress& GetAddress() const { return aAddress; } ScAddress& GetAddress() { return aAddress; } }; diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 69cb0366fccb..5c0615cd8ad5 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -578,7 +578,7 @@ public: bool HasBroadcaster() const; void Broadcast( SCROW nRow ); - void BroadcastCells( const std::vector<SCROW>& rRows, sal_uLong nHint ); + void BroadcastCells( const std::vector<SCROW>& rRows, sal_uInt32 nHint ); // cell notes ScPostIt* GetCellNote( SCROW nRow ); diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 4720d340c9e2..e8297bb4d35c 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1909,7 +1909,7 @@ public: */ void Broadcast( const ScHint& rHint ); - void BroadcastCells( const ScRange& rRange, sal_uLong nHint, bool bBroadcastSingleBroadcasters = true ); + void BroadcastCells( const ScRange& rRange, sal_uInt32 nHint, bool bBroadcastSingleBroadcasters = true ); void BroadcastRefMoved( const sc::RefMovedHint& rHint ); /// only area, no cell broadcast @@ -1952,7 +1952,7 @@ public: void ClearFormulaTree(); void AppendToFormulaTrack( ScFormulaCell* pCell ); void RemoveFromFormulaTrack( ScFormulaCell* pCell ); - void TrackFormulas( sal_uLong nHintId = SC_HINT_DATACHANGED ); + void TrackFormulas( sal_uInt32 nHintId = SC_HINT_DATACHANGED ); bool IsInFormulaTree( ScFormulaCell* pCell ) const; bool IsInFormulaTrack( ScFormulaCell* pCell ) const; HardRecalcState GetHardRecalcState() { return eHardRecalcState; } diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx index b5eb08902b80..632767e449d7 100644 --- a/sc/source/core/data/bcaslot.cxx +++ b/sc/source/core/data/bcaslot.cxx @@ -282,7 +282,7 @@ ScBroadcastAreas::iterator ScBroadcastAreaSlot::FindBroadcastArea( namespace { -void broadcastRangeByCell( SvtBroadcaster& rBC, const ScRange& rRange, sal_uLong nHint ) +void broadcastRangeByCell( SvtBroadcaster& rBC, const ScRange& rRange, sal_uInt32 nHint ) { ScHint aHint(nHint, ScAddress()); ScAddress& rPos = aHint.GetAddress(); @@ -303,7 +303,7 @@ void broadcastRangeByCell( SvtBroadcaster& rBC, const ScRange& rRange, sal_uLong } -bool ScBroadcastAreaSlot::AreaBroadcast( const ScRange& rRange, sal_uLong nHint ) +bool ScBroadcastAreaSlot::AreaBroadcast( const ScRange& rRange, sal_uInt32 nHint ) { if (aBroadcastAreaTbl.empty()) return false; @@ -842,7 +842,7 @@ void ScBroadcastAreaSlotMachine::EndListeningArea( } } -bool ScBroadcastAreaSlotMachine::AreaBroadcast( const ScRange& rRange, sal_uLong nHint ) +bool ScBroadcastAreaSlotMachine::AreaBroadcast( const ScRange& rRange, sal_uInt32 nHint ) { bool bBroadcasted = false; SCTAB nEndTab = rRange.aEnd.Tab(); diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 9ba82271b3da..bca3d7a760ae 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -75,7 +75,7 @@ void ScColumn::Broadcast( SCROW nRow ) pDocument->Broadcast(aHint); } -void ScColumn::BroadcastCells( const std::vector<SCROW>& rRows, sal_uLong nHint ) +void ScColumn::BroadcastCells( const std::vector<SCROW>& rRows, sal_uInt32 nHint ) { if (rRows.empty()) return; diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index 71a3c133e078..eedb0e1ae499 100644 --- a/sc/source/core/data/documen7.cxx +++ b/sc/source/core/data/documen7.cxx @@ -94,7 +94,7 @@ void ScDocument::Broadcast( const ScHint& rHint ) } } -void ScDocument::BroadcastCells( const ScRange& rRange, sal_uLong nHint, bool bBroadcastSingleBroadcasters ) +void ScDocument::BroadcastCells( const ScRange& rRange, sal_uInt32 nHint, bool bBroadcastSingleBroadcasters ) { ClearFormulaContext(); @@ -591,7 +591,7 @@ bool ScDocument::IsInFormulaTrack( ScFormulaCell* pCell ) const The next is broadcasted again, and so on. View initiates Interpret. */ -void ScDocument::TrackFormulas( sal_uLong nHintId ) +void ScDocument::TrackFormulas( sal_uInt32 nHintId ) { if ( pFormulaTrack ) diff --git a/sc/source/core/inc/bcaslot.hxx b/sc/source/core/inc/bcaslot.hxx index 27ff119e8125..fec60cd193df 100644 --- a/sc/source/core/inc/bcaslot.hxx +++ b/sc/source/core/inc/bcaslot.hxx @@ -213,7 +213,7 @@ public: void EndListeningArea( const ScRange& rRange, bool bGroupListening, SvtListener* pListener, ScBroadcastArea*& rpArea ); - bool AreaBroadcast( const ScRange& rRange, sal_uLong nHint ); + bool AreaBroadcast( const ScRange& rRange, sal_uInt32 nHint ); bool AreaBroadcast( const ScHint& rHint ); void DelBroadcastAreasInRange( const ScRange& rRange ); void UpdateRemove( UpdateRefMode eUpdateRefMode, @@ -296,7 +296,7 @@ private: ScDocument *pDoc; ScBroadcastArea *pUpdateChain; ScBroadcastArea *pEOUpdateChain; - sal_uLong nInBulkBroadcast; + sal_uInt32 nInBulkBroadcast; static inline SCSIZE ComputeSlotOffset( const ScAddress& rAddress ); static void ComputeAreaPoints( const ScRange& rRange, @@ -312,7 +312,7 @@ public: void EndListeningArea( const ScRange& rRange, bool bGroupListening, SvtListener* pListener ); - bool AreaBroadcast( const ScRange& rRange, sal_uLong nHint ); + bool AreaBroadcast( const ScRange& rRange, sal_uInt32 nHint ); bool AreaBroadcast( const ScHint& rHint ) const; // return: at least one broadcast occurred void DelBroadcastAreasInRange( const ScRange& rRange ); diff --git a/sc/source/core/tool/brdcst.cxx b/sc/source/core/tool/brdcst.cxx index dba508b310ae..d5730944e16d 100644 --- a/sc/source/core/tool/brdcst.cxx +++ b/sc/source/core/tool/brdcst.cxx @@ -19,7 +19,7 @@ #include "brdcst.hxx" -ScHint::ScHint( sal_uLong n, const ScAddress& a ) : +ScHint::ScHint( sal_uInt32 n, const ScAddress& a ) : SfxSimpleHint(n), aAddress(a) {} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |