diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 10:51:34 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-08-31 14:50:49 +0200 |
commit | 3dfbb9d41cf8fad3b41a9528967febcec6ea433b (patch) | |
tree | a59c6df780b02067831afced9e3e97a74e42dd8f /sd | |
parent | 60495cc10d7b549c295e7605de7972186391ec69 (diff) |
Fix typos in code
It passed "make check" on Linux
Change-Id: I9ba795bf188a9fe11d83516d6895888f880747c9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101706
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/sdpage.hxx | 2 | ||||
-rw-r--r-- | sd/source/core/sdpage2.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index c29d2c84ebe2..4c4c3b9ca88a 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -245,7 +245,7 @@ public: void setTransitionFadeColor( sal_Int32 nTransitionFadeColor ); double getTransitionDuration() const { return mfTransitionDuration;} - void setTransitionDuration( double fTranstionDuration ); + void setTransitionDuration( double fTransitionDuration ); virtual void Changed(const SdrObject& rObj, SdrUserCallType eType, const ::tools::Rectangle& rOldBoundRect) override; diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx index b477b03e1930..2f8f36c2b682 100644 --- a/sd/source/core/sdpage2.cxx +++ b/sd/source/core/sdpage2.cxx @@ -520,9 +520,9 @@ void SdPage::setTransitionFadeColor ( sal_Int32 nTransitionFadeColor ) ActionChanged(); } -void SdPage::setTransitionDuration ( double fTranstionDuration ) +void SdPage::setTransitionDuration ( double fTransitionDuration ) { - mfTransitionDuration = fTranstionDuration; + mfTransitionDuration = fTransitionDuration; ActionChanged(); } diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index c9f64e2c8125..ff9f8538b899 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -2032,7 +2032,7 @@ std::unique_ptr<STLPropertySet> CustomAnimationDialog::createDefaultSet() pSet->setPropertyDefaultValue( nHandleCurrentPage, aEmpty ); pSet->setPropertyDefaultValue( nHandleSoundURL, aEmpty ); - pSet->setPropertyDefaultValue( nHandleSoundVolumne, makeAny( 1.0) ); + pSet->setPropertyDefaultValue( nHandleSoundVolume, makeAny( 1.0) ); pSet->setPropertyDefaultValue( nHandleSoundEndAfterSlide, makeAny( sal_Int32(0) ) ); pSet->setPropertyDefaultValue( nHandleCommand, makeAny( sal_Int16(0) ) ); diff --git a/sd/source/ui/animations/CustomAnimationDialog.hxx b/sd/source/ui/animations/CustomAnimationDialog.hxx index 64272633505d..ea8ebaed3158 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.hxx +++ b/sd/source/ui/animations/CustomAnimationDialog.hxx @@ -58,7 +58,7 @@ const sal_Int32 nHandleTextReverse = 26; const sal_Int32 nHandleCurrentPage = 27; const sal_Int32 nHandleSoundURL = 28; -const sal_Int32 nHandleSoundVolumne = 29; +const sal_Int32 nHandleSoundVolume = 29; const sal_Int32 nHandleSoundEndAfterSlide = 30; const sal_Int32 nHandleCommand = 31; diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 5e80435051bd..f7bfc28fca55 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -1140,7 +1140,7 @@ std::unique_ptr<STLPropertySet> CustomAnimationPane::createSelectionSet() if( pEffect->getAudio().is() ) { aSoundSource = pEffect->getAudio()->getSource(); - addValue( pSet, nHandleSoundVolumne, makeAny( pEffect->getAudio()->getVolume() ) ); + addValue( pSet, nHandleSoundVolume, makeAny( pEffect->getAudio()->getVolume() ) ); // todo addValue( pSet, nHandleSoundEndAfterSlide, makeAny( pEffect->getAudio()->getEndAfterSlide() ) ); // this is now stored at the XCommand parameter sequence } |