diff options
author | Serge Krot <Serge.Krot@cib.de> | 2020-01-02 12:24:27 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-01-04 01:05:47 +0100 |
commit | c97f9af5e47ea234ad709a1f66c1e8ed20640066 (patch) | |
tree | c8d079cdda3c04dc86edffdb087271f689ba0fbc /sd/inc | |
parent | 2dcd8b7d9faa0c7e144f71f43053e5abbea06108 (diff) |
tdf#129708 speed-up: reuse enumeration for each effect
Change-Id: I336278c5a9eec75a2a71fe4d04d2029a5a08e6a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86102
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/CustomAnimationEffect.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx index 962ce9b995d9..26f1cef4a65c 100644 --- a/sd/inc/CustomAnimationEffect.hxx +++ b/sd/inc/CustomAnimationEffect.hxx @@ -144,7 +144,7 @@ public: SAL_DLLPRIVATE OUString getPath() const; SAL_DLLPRIVATE void setPath( const OUString& rPath ); - SAL_DLLPRIVATE bool checkForText(); + SAL_DLLPRIVATE bool checkForText( const std::vector<sal_Int32>* paragraphNumberingLevel = nullptr ); SAL_DLLPRIVATE bool calculateIterateDuration(); SAL_DLLPRIVATE void setAudio( const css::uno::Reference< css::animations::XAudio >& xAudio ); @@ -334,6 +334,8 @@ protected: SAL_DLLPRIVATE void updateTextGroups(); + SAL_DLLPRIVATE bool getParagraphNumberingLevels( const css::uno::Reference< css::drawing::XShape >& xShape, std::vector< sal_Int32 >& rParagraphNumberingLevel ); + protected: css::uno::Reference< css::animations::XTimeContainer > mxSequenceRoot; EffectSequence maEffects; |