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/source/core | |
parent | 7cd9eba81dc3be56def062e3f22d290636a11b1c (diff) |
sal_uLong to sal_uInt32, ScHint related
Change-Id: I84402bf4b8d69ae350f6449cf4d1fd7c5c325f3c
Diffstat (limited to 'sc/source/core')
-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 |
5 files changed, 10 insertions, 10 deletions
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: */ |