summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/swfont.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 13:08:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 10:19:03 +0200
commit09a4d2faa429cc52d603abc55d99723f39dc9023 (patch)
tree8cba91c63122322a49fb5ca5af490e62d87d0d75 /sw/source/core/inc/swfont.hxx
parent1fe0dc7377300ad961438f5a69bd8bc023cc314d (diff)
loplugin:unusedfields in sw
Change-Id: I807f93757bfddf17f71568f1e3c174229f169f18 Reviewed-on: https://gerrit.libreoffice.org/39409 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc/swfont.hxx')
-rw-r--r--sw/source/core/inc/swfont.hxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index 17510eafef09..e59826889d85 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -163,14 +163,12 @@ class SW_DLLPUBLIC SwFont
SwFontScript m_nActual; // actual font (Latin, CJK or CTL)
// switch for the font-extensions
- bool m_bNoHyph :1; // SwTextNoHyphenHere: no separator
bool m_bBlink :1; // blinking font
bool m_bPaintBlank :1; // blanks not with DrawRect
- bool m_bFontChg :1;
+ bool m_bFontChg :1;
bool m_bOrgChg :1; // nOrgHeight/Ascent are invalid
bool m_bURL :1;
bool m_bGreyWave :1; // for the extended TextInput: gray waveline
- bool m_bNoColorReplace :1; // Replacement without colormanipulation
public:
SwFont( const SwAttrSet* pSet, const IDocumentSettingAccess* pIDocumentSettingAccess );
@@ -247,7 +245,6 @@ public:
inline void SetRelief( const FontRelief eNew );
// Get/Set-methods for the current setting
- inline void SetNoHyph( const bool bNew );
inline void SetBlink( const bool bBlink );
bool IsBlink() const { return m_bBlink; }
sal_uInt8 &GetTox() { return m_nToxCount; }
@@ -261,7 +258,6 @@ public:
bool IsURL() const { return m_bURL; }
inline void SetGreyWave( const bool bNew );
bool IsGreyWave() const { return m_bGreyWave; }
- inline void SetNoCol( const bool bNew );
bool IsPaintBlank() const { return m_bPaintBlank; }
// setting of the base class font for SwTextCharFormat
@@ -811,11 +807,6 @@ inline void SwFont::SetLanguage( const LanguageType eNewLang, const SwFontScript
}
}
-inline void SwFont::SetNoHyph( const bool bNew )
-{
- m_bNoHyph = bNew;
-}
-
inline void SwFont::SetBlink( const bool bNew )
{
m_bBlink = bNew;
@@ -826,11 +817,6 @@ inline void SwFont::SetGreyWave( const bool bNew )
m_bGreyWave = bNew;
}
-inline void SwFont::SetNoCol( const bool bNew )
-{
- m_bNoColorReplace = bNew;
-}
-
inline void SwSubFont::SetVertical( const sal_uInt16 nDir, const bool bVertFormat )
{
m_pMagic = nullptr;