sw/source/core/inc/txtfrm.hxx | 1 - sw/source/core/text/porrst.cxx | 6 ------ 2 files changed, 7 deletions(-)
New commits: commit cc76f6b6fb50e220a084266419bac61ee39cdf74 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon May 18 09:08:04 2020 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Mon May 18 10:11:27 2020 +0200 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 <vmik...@collabora.com> Tested-by: Jenkins 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits