Fix issues with text scrolling & transition effects using GetVectorXY() incorrectly 76/69776/5
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 16 May 2016 17:16:41 +0000 (18:16 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 17 May 2016 10:46:47 +0000 (03:46 -0700)
commit1de7803f0c2e96a113b741f5090b4ad71159fdd9
treecb6b4edab600d5076eb02144128802c5057a0b52
parente00c70e122b8a9aee92aa012dc3485395b1254c8
Fix issues with text scrolling & transition effects using GetVectorXY() incorrectly

Vector3::GetVectorXY() returns a ref (or a const ref). This is problematic in the files in this
patch because they are returning a ref to a temporary variable which then goes out-of-scope later

The fix is to just create a copy of the value on the stack rather than pass a ref to the temporary
variable.

Change-Id: I2e93748943487a677d394064b70c2b6afe983dbf
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp
dali-toolkit/internal/transition-effects/cube-transition-cross-effect-impl.cpp
dali-toolkit/internal/transition-effects/cube-transition-wave-effect-impl.cpp