[Libreoffice-commits] core.git: sw/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 19 07:10:35 UTC 2020
sw/source/core/inc/txtfrm.hxx | 6 ------
sw/source/core/text/txtfrm.cxx | 1 -
2 files changed, 7 deletions(-)
New commits:
commit cda47b4b4216457023ea72ad4137b8aed807c71f
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon May 18 21:39:18 2020 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue May 19 09:09:55 2020 +0200
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 at collabora.com>
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
More information about the Libreoffice-commits
mailing list