equal
deleted
inserted
replaced
194 // handle one visual |
194 // handle one visual |
195 /// @todo fix this so that once the effect order is solved, the effects |
195 /// @todo fix this so that once the effect order is solved, the effects |
196 /// are cloned as needed |
196 /// are cloned as needed |
197 MShwEffect* clone = effect->CloneLC(); |
197 MShwEffect* clone = effect->CloneLC(); |
198 iAvailableEffects.AppendL( clone ); |
198 iAvailableEffects.AppendL( clone ); |
199 CleanupStack::Pop( clone ); |
199 |
|
200 // This will cause a code scanner warning, but it is not possible to do |
|
201 // CleanupStack::Pop(clone) because the pointer pushed |
|
202 // onto the cleanup stack was either of class CShwZoomAndPanEffect |
|
203 // or a CShwCrossFadeEffect and the object 'clone' is of |
|
204 // class MShwEffect |
|
205 CleanupStack::Pop(); //clone |
200 |
206 |
201 iEffects.Append( effect ); |
207 iEffects.Append( effect ); |
202 iEffects.Append( clone ); |
208 iEffects.Append( clone ); |
203 |
209 |
204 // calculate the effects |
210 // calculate the effects |