X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fprogress-bar%2Fprogress-bar-impl.cpp;h=0a4a7e5eb4b2155bd0de8c02f205be93afe6c25f;hp=43907927af2f1b22c10be5fd1d255e393d46ea79;hb=f11be450471738b68f98fa4c552b3a22482ae4de;hpb=2ffec8b73989656f70411ef1a99a721b6f86cd14 diff --git a/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.cpp b/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.cpp index 4390792..0a4a7e5 100755 --- a/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.cpp +++ b/dali-toolkit/internal/controls/progress-bar/progress-bar-impl.cpp @@ -404,7 +404,7 @@ void ProgressBar::CreateVisualsForComponent( Property::Index index, const Proper else // Does this code make text-visual can be accepted as visual? { // if its not a string then get a Property::Map from the property if possible. - Property::Map *map = value.GetMap(); + const Property::Map *map = value.GetMap(); if( map && !map->Empty() ) // Empty map results in current visual removal. { progressVisual = visualFactory.CreateVisual( *map ); @@ -659,10 +659,10 @@ Property::Value ProgressBar::GetProperty( BaseObject* object, Property::Index pr return value; } -void ProgressBar::OnStageConnection( int depth ) +void ProgressBar::OnSceneConnection( int depth ) { // Chain up first (ensures visuals are ready to draw) - Control::OnStageConnection( depth ); + Control::OnSceneConnection( depth ); if( mIndeterminate ) {