summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-05-23 14:37:37 +0200
committerAndras Timar <andras.timar@collabora.com>2014-06-02 19:01:53 +0200
commitce2caba4b0a037e4b36e316e77190b7502c2c651 (patch)
tree7b7ff497eb34e5599c6f26dc95b2da1b7d40227c /sd
parentc4c60d71a5a4aabd00b11c02b1ada521913f9f86 (diff)
CustomAnimationCreateDialog: select previously set misc animation
Regression from 9695f38ca4ab26b40524f2eade98c45f0360131d. Change-Id: I8777fd8fa3e31c67b6645044d262fd4c5f645634 (cherry picked from commit dd1f8ac3575a929e71b39d5f7043be057ebaa727) Reviewed-on: https://gerrit.libreoffice.org/9480 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
index 6117f9de3bc9..f8e1023152f8 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
@@ -539,7 +539,7 @@ CustomAnimationCreateDialog::CustomAnimationCreateDialog( Window* pParent, Custo
// select current preset if available
if( !rsPresetId.isEmpty() )
{
- for( sal_uInt16 i = ENTRANCE; i <= MOTIONPATH; i++ )
+ for( sal_uInt16 i = ENTRANCE; i <= MISCEFFECTS; i++ )
{
if( mpTabPages[i]->select( rsPresetId ) )
{