summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2019-02-24 13:09:28 +0800
committerMark Hung <marklh9@gmail.com>2019-02-25 01:30:19 +0100
commitdf8629e14f522d9116d81bdc09dad4b438e4e2cf (patch)
tree89c746982bf87673dc2d13562ed39ae31b0f336b /sd/source
parent7927bfcf46aaaee8a5ab4eeb10549436416cfc3a (diff)
sd: fix preset class for media call effects.
Change-Id: I2a2a72a3a19beb9911fa694e983945480029ae0d Reviewed-on: https://gerrit.libreoffice.org/68276 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index d3f88d483f1d..a3c210d55013 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -253,6 +253,8 @@ CustomAnimationListEntryItem::CustomAnimationListEntryItem( const OUString& aDes
msEffectName = SdResId(STR_CUSTOMANIMATION_EMPHASIS); break;
case EffectPresetClass::MOTIONPATH:
msEffectName = SdResId(STR_CUSTOMANIMATION_MOTION_PATHS); break;
+ default:
+ msEffectName = SdResId(STR_CUSTOMANIMATION_MISC); break;
}
msEffectName = msEffectName.replaceFirst( "%1" , CustomAnimationPresets::getCustomAnimationPresets().getUINameForPresetId(mpEffect->getPresetId()));
}