photosgallery/viewframework/uiutilities/src/glxanimationfactory.cpp
branchRCL_3
changeset 47 f9e827349359
parent 0 4e91876724a2
equal deleted inserted replaced
35:420f6808bf21 47:f9e827349359
    38         CAlfControlGroup* aControlGroup)
    38         CAlfControlGroup* aControlGroup)
    39     {
    39     {
    40     CGlxAnimationView* anim = NULL;
    40     CGlxAnimationView* anim = NULL;
    41     
    41     
    42     RPointerArray<CAlfControlGroup> controlGroupArray;
    42     RPointerArray<CAlfControlGroup> controlGroupArray;
    43     controlGroupArray.Append(aControlGroup);
    43 	CleanupClosePushL(controlGroupArray);
       
    44     controlGroupArray.AppendL(aControlGroup);
    44     anim = CGlxAnimationView::NewL(aAnimType, aDirection, controlGroupArray);
    45     anim = CGlxAnimationView::NewL(aAnimType, aDirection, controlGroupArray);
    45     controlGroupArray.Reset();
    46     CleanupStack::PopAndDestroy(&controlGroupArray);
    46     
    47     
    47     return anim;
    48     return anim;
    48     }
    49     }
    49 
    50 
    50 // -----------------------------------------------------------------------------
    51 // -----------------------------------------------------------------------------