summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 11:03:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-25 12:03:50 +0200
commit2fffaf6f05d829e345ad8b391646a6e8df9a9a26 (patch)
treeec1b7343262433ee2ea9ab6e5197b6fd2327b685 /sw
parentf74da1315a5b2ec232a66944e41ff90231b383be (diff)
loplugin:unusedmethods
Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb Reviewed-on: https://gerrit.libreoffice.org/40391 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/splargs.hxx4
-rw-r--r--sw/source/core/text/txthyph.cxx1
-rw-r--r--sw/source/filter/html/svxcss1.hxx4
3 files changed, 0 insertions, 9 deletions
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx
index bf61b5909a5e..2797cf05a820 100644
--- a/sw/inc/splargs.hxx
+++ b/sw/inc/splargs.hxx
@@ -113,7 +113,6 @@ class SwInterHyphInfo
{
css::uno::Reference< css::linguistic2::XHyphenatedWord > xHyphWord;
const Point aCursorPos;
- bool bCheck : 1;
public:
sal_Int32 nStart;
sal_Int32 nEnd;
@@ -122,7 +121,6 @@ public:
SwInterHyphInfo( const Point &rCursorPos )
: aCursorPos(rCursorPos)
- , bCheck(false)
, nStart(0)
, nEnd(SAL_MAX_INT32)
, nWordStart(0), nWordLen(0)
@@ -136,8 +134,6 @@ public:
{
return aCursorPos.X() || aCursorPos.Y() ? &aCursorPos : nullptr;
}
- bool IsCheck() const { return bCheck; }
- void SetCheck( const bool bNew ) { bCheck = bNew; }
void SetHyphWord(const css::uno::Reference< css::linguistic2::XHyphenatedWord > &rxHW)
{
xHyphWord = rxHW;
diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx
index a2332827a431..a48ae3f2194c 100644
--- a/sw/source/core/text/txthyph.cxx
+++ b/sw/source/core/text/txthyph.cxx
@@ -241,7 +241,6 @@ bool SwTextFormatter::Hyphenate( SwInterHyphInfo &rHyphInf )
rHyphInf.SetHyphWord( xHyphWord );
rHyphInf.nWordStart = nWrdStart;
rHyphInf.nWordLen = nLen;
- rHyphInf.SetCheck( true );
return true;
}
diff --git a/sw/source/filter/html/svxcss1.hxx b/sw/source/filter/html/svxcss1.hxx
index 5acb446ad586..7c14765e5d43 100644
--- a/sw/source/filter/html/svxcss1.hxx
+++ b/sw/source/filter/html/svxcss1.hxx
@@ -161,10 +161,6 @@ class SvxCSS1MapEntry
SvxCSS1PropertyInfo aPropInfo;
public:
- SvxCSS1MapEntry( SfxItemPool& rPool, const sal_uInt16 *pWhichMap ) :
- aItemSet( rPool, pWhichMap )
- {}
-
SvxCSS1MapEntry( const SfxItemSet& rItemSet,
const SvxCSS1PropertyInfo& rProp );