equal
deleted
inserted
replaced
853 } |
853 } |
854 |
854 |
855 |
855 |
856 EXPORT_C CCoeControl* CAknIndicatorContainer::ComponentControl(TInt aIndex) const |
856 EXPORT_C CCoeControl* CAknIndicatorContainer::ComponentControl(TInt aIndex) const |
857 { |
857 { |
858 return iIndicators->At(aIndex); |
858 if ( aIndex >= 0 && aIndex < iIndicators->Count() ) |
|
859 { |
|
860 return iIndicators->At( aIndex ); |
|
861 } |
|
862 else |
|
863 { |
|
864 return NULL; |
|
865 } |
859 } |
866 } |
860 |
867 |
861 |
868 |
862 EXPORT_C void CAknIndicatorContainer::Draw( const TRect& aRect ) const |
869 EXPORT_C void CAknIndicatorContainer::Draw( const TRect& aRect ) const |
863 { |
870 { |