summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2019-11-18 00:48:06 +0800
committerMark Hung <marklh9@gmail.com>2019-11-30 14:59:22 +0100
commit93161eed833913dfef9d9e125952ffd0ff66ac13 (patch)
treea05cd76976607d05bfc564d28312dafb3d9fb32e /sd
parentb17d6452667d9be8fcbb9c84d042da66713230ea (diff)
sd: fix typo maEffectDiscriptorMap -> maEffectDescriptorMap;
Change-Id: Ie0e8dc67969ca680e80c544f954d3bef9adbcb33 Reviewed-on: https://gerrit.libreoffice.org/83078 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/CustomAnimationPreset.hxx2
-rw-r--r--sd/source/core/CustomAnimationPreset.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index ad21b7a00d4a..220dedb9b0e3 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -118,7 +118,7 @@ private:
private:
css::uno::Reference< css::animations::XAnimationNode > mxRootNode;
- EffectDescriptorMap maEffectDiscriptorMap;
+ EffectDescriptorMap maEffectDescriptorMap;
UStringMap maEffectNameMap;
UStringMap maPropertyNameMap;
diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx
index e54c67d95b5c..ed20faf74b3b 100644
--- a/sd/source/core/CustomAnimationPreset.cxx
+++ b/sd/source/core/CustomAnimationPreset.cxx
@@ -320,7 +320,7 @@ void CustomAnimationPresets::importEffects()
{
pDescriptor.reset( new CustomAnimationPreset( pEffect ) );
pDescriptor->maLabel = getUINameForPresetId( pEffect->getPresetId() );
- maEffectDiscriptorMap[aPresetId] = pDescriptor;
+ maEffectDescriptorMap[aPresetId] = pDescriptor;
}
++aIter;
@@ -450,9 +450,9 @@ void CustomAnimationPresets::importPresets( const Reference< XMultiServiceFactor
CustomAnimationPresetPtr CustomAnimationPresets::getEffectDescriptor( const OUString& rPresetId ) const
{
- EffectDescriptorMap::const_iterator aIter( maEffectDiscriptorMap.find( rPresetId ) );
+ EffectDescriptorMap::const_iterator aIter( maEffectDescriptorMap.find( rPresetId ) );
- if( aIter != maEffectDiscriptorMap.end() )
+ if( aIter != maEffectDescriptorMap.end() )
{
return (*aIter).second;
}