diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-05-18 09:08:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-05-18 10:11:27 +0200 |
commit | cc76f6b6fb50e220a084266419bac61ee39cdf74 (patch) | |
tree | 44233fa394aa5a40ab4d4fda7e31a80db5988333 /sw/source/core | |
parent | 02fe5ec54e339d4f8983a5bf131b9c2d5db9d771 (diff) |
sw: HasBlinkPor() now always returns false
So it can be removed and client code can be adjusted accordingly.
Change-Id: Ib3ca86cf147387fdbd646eb46077eff89d4c56f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94397
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/core')
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/text/porrst.cxx | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 197d6d3cec4a..b4b96c5fc6b5 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -519,7 +519,6 @@ public: inline void ResetRepaint() const; bool HasRepaint() const { return mbRepaint; } inline void ResetBlinkPor() const; - bool HasBlinkPor() const { return mbHasBlinkPortions; } void SetHasRotatedPortions(bool bHasRotatedPortions); bool GetHasRotatedPortions() const { return mbHasRotatedPortions; } void SetAnimation() const diff --git a/sw/source/core/text/porrst.cxx b/sw/source/core/text/porrst.cxx index 0cd1523482f1..32b1e0b389c0 100644 --- a/sw/source/core/text/porrst.cxx +++ b/sw/source/core/text/porrst.cxx @@ -334,12 +334,6 @@ bool SwTextFrame::FormatEmpty() SetUndersized( false ); AdjustFrame( nChg ); - if( HasBlinkPor() ) - { - ClearPara(); - ResetBlinkPor(); - } - if (GetHasRotatedPortions()) { ClearPara(); |