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>
This commit is contained in:
Mark Hung
2019-11-30 14:59:22 +01:00
parent b17d645266
commit 93161eed83
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ private:
private:
css::uno::Reference< css::animations::XAnimationNode > mxRootNode;
EffectDescriptorMap maEffectDiscriptorMap;
EffectDescriptorMap maEffectDescriptorMap;
UStringMap maEffectNameMap;
UStringMap maPropertyNameMap;
+3 -3
View File
@@ -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;
}