diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-13 15:16:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-13 17:56:14 +0200 |
commit | bd537420b07fc82bd9a3eb01f3e5b3b33c21a5cb (patch) | |
tree | d03e7acfa277f07a8d0769e808a019ecc68f32e8 /sw | |
parent | d2cb44507708af41e9ee408c4db08c5bc7b13b43 (diff) |
loplugin:unusedmethods
Change-Id: Id813d95a90fdbb360dfc8670c0b55b635f633965
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94125
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/accessibilityoptions.hxx | 3 | ||||
-rw-r--r-- | sw/source/core/inc/swfont.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 2 |
4 files changed, 0 insertions, 11 deletions
diff --git a/sw/inc/accessibilityoptions.hxx b/sw/inc/accessibilityoptions.hxx index 2fec278bc0cb..2b786b812292 100644 --- a/sw/inc/accessibilityoptions.hxx +++ b/sw/inc/accessibilityoptions.hxx @@ -35,9 +35,6 @@ struct SwAccessibilityOptions bool IsStopAnimatedGraphics() const { return bIsStopAnimatedGraphics;} void SetStopAnimatedGraphics( bool b ) { bIsStopAnimatedGraphics = b; } - - bool IsStopAnimatedText() const { return bIsStopAnimatedText; } - void SetStopAnimatedText( bool b ) { bIsStopAnimatedText = b;} }; #endif diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index a2f38ed1406a..4da9f8c1a8f5 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -246,7 +246,6 @@ public: // Get/Set-methods for the current setting inline void SetBlink( const bool bBlink ); - bool IsBlink() const { return m_bBlink; } sal_uInt8 &GetTox() { return m_nToxCount; } bool IsTox() const { return ( 0 != m_nToxCount ); } sal_uInt8 &GetRef() { return m_nRefCount; } diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 6526def25558..197d6d3cec4a 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 SetBlinkPor() const; inline void ResetBlinkPor() const; bool HasBlinkPor() const { return mbHasBlinkPortions; } void SetHasRotatedPortions(bool bHasRotatedPortions); @@ -872,10 +871,6 @@ inline void SwTextFrame::ResetRepaint() const const_cast<SwTextFrame*>(this)->mbRepaint = false; } -inline void SwTextFrame::SetBlinkPor() const -{ - const_cast<SwTextFrame*>(this)->mbHasBlinkPortions = true; -} inline void SwTextFrame::ResetBlinkPor() const { const_cast<SwTextFrame*>(this)->mbHasBlinkPortions = false; diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 7b9529155a91..c5d20fe38d88 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -2470,13 +2470,11 @@ void SwViewShell::ApplyAccessibilityOptions(SvtAccessibilityOptions const & rAcc { mpAccOptions->SetAlwaysAutoColor(false); mpAccOptions->SetStopAnimatedGraphics(false); - mpAccOptions->SetStopAnimatedText(false); } else { mpAccOptions->SetAlwaysAutoColor(rAccessibilityOptions.GetIsAutomaticFontColor()); mpAccOptions->SetStopAnimatedGraphics(! rAccessibilityOptions.GetIsAllowAnimatedGraphics()); - mpAccOptions->SetStopAnimatedText(! rAccessibilityOptions.GetIsAllowAnimatedText()); // Form view // Always set this option, not only if document is read-only: |