diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-05-18 21:39:18 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-05-19 09:09:55 +0200 |
commit | cda47b4b4216457023ea72ad4137b8aed807c71f (patch) | |
tree | 560f25ef6758b27a03bd11930bca4301b28610ea /sw | |
parent | dbdc14dfd90c40b6cc0cd951be236acd85ff4cea (diff) |
sw: ResetBlinkPor() now doesn't do anything useful
mbHasBlinkPortions is always false by the time this function is called.
Change-Id: I73b9128ce26ad8fad0227d0c93a62c28d46541c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94467
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/text/txtfrm.cxx | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index b4b96c5fc6b5..620c148427ec 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -518,7 +518,6 @@ public: inline void SetRepaint() const; inline void ResetRepaint() const; bool HasRepaint() const { return mbRepaint; } - inline void ResetBlinkPor() const; void SetHasRotatedPortions(bool bHasRotatedPortions); bool GetHasRotatedPortions() const { return mbHasRotatedPortions; } void SetAnimation() const @@ -870,11 +869,6 @@ inline void SwTextFrame::ResetRepaint() const const_cast<SwTextFrame*>(this)->mbRepaint = false; } -inline void SwTextFrame::ResetBlinkPor() const -{ - const_cast<SwTextFrame*>(this)->mbHasBlinkPortions = false; -} - class TemporarySwap { protected: explicit TemporarySwap(SwTextFrame * frame, bool swap): diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index 5292cc6d3965..95de45095e24 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -751,7 +751,6 @@ void SwTextFrame::Init() if( !IsLocked() ) { ClearPara(); - ResetBlinkPor(); SetHasRotatedPortions(false); // set flags directly to save a ResetPreps call, // and thereby an unnecessary GetPara call |