Lines Matching refs:_rData
107 bool lcl_isRunning( const ProgressMixer_Data& _rData ) in lcl_isRunning() argument
109 return _rData.pCurrentPhase != _rData.aPhases.end(); in lcl_isRunning()
113 void lcl_ensureInitialized( ProgressMixer_Data& _rData ) in lcl_ensureInitialized() argument
115 … OSL_PRECOND( _rData.nWeightSum, "lcl_ensureInitialized: we have no phases, this will crash!" ); in lcl_ensureInitialized()
117 if ( _rData.nOverallStretch ) in lcl_ensureInitialized()
120 _rData.nOverallStretch = 1.0 * OVERALL_RANGE / _rData.nWeightSum; in lcl_ensureInitialized()
124 for ( Phases::iterator phase = _rData.aPhases.begin(); in lcl_ensureInitialized()
125 phase != _rData.aPhases.end(); in lcl_ensureInitialized()
129 … phase->second.nGlobalStart = (sal_uInt32)( nRunningWeight * _rData.nOverallStretch ); in lcl_ensureInitialized()
132 … sal_uInt32 nNextPhaseStart = (sal_uInt32)( nRunningWeight * _rData.nOverallStretch ); in lcl_ensureInitialized()
136 _rData.rConsumer.start( OVERALL_RANGE ); in lcl_ensureInitialized()