summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-03 15:56:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-06 11:54:54 +0000
commit593206bda7ae6b522a5f29aef25445722aedeb4c (patch)
treee18b7664e4813f485a99bc3d9a0b15e6f4423b7a /i18npool
parentc4379aacbe9d5732dadf02c2d4306266e162ffc6 (diff)
loplugin:unusedmethods hwpfilter,i18npool
Change-Id: Ied85d93019d0f6c01c14045758b405f2ac316676 Reviewed-on: https://gerrit.libreoffice.org/16783 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/search/levdis.hxx47
1 files changed, 0 insertions, 47 deletions
diff --git a/i18npool/source/search/levdis.hxx b/i18npool/source/search/levdis.hxx
index d9cb83621b09..e7dcc085cdac 100644
--- a/i18npool/source/search/levdis.hxx
+++ b/i18npool/source/search/levdis.hxx
@@ -183,19 +183,6 @@ public:
bool bRelaxed = true );
inline int GetLimit() const { return nLimit; }
- inline int GetReplaceP0() const { return nRepP0; }
- inline int GetInsertQ0() const { return nInsQ0; }
- inline int GetDeleteR0() const { return nDelR0; }
- inline bool GetSplit() const { return bSplitCount; }
- inline int SetLimit( int nNewLimit );
- inline int SetReplaceP0( int nNewP0 );
- inline int SetInsertQ0( int nNewQ0 );
- inline int SetDeleteR0( int nNewR0 );
- /** SetSplit(true) makes only sense after having called CalcLPQR() for the
- internal weighs! */
- inline bool SetSplit( bool bNewSplit );
-
- inline bool IsNormal( sal_Int32 nPos ) const { return !bpPatIsWild[nPos]; }
// Calculate current balance, keep this inline for performance reasons!
// c == cpPattern[jj] == cString[ii]
@@ -231,40 +218,6 @@ public:
}
};
-inline int WLevDistance::SetLimit( int nNewLimit )
-{
- int nTmp = nLimit;
- nLimit = nNewLimit;
- return nTmp;
-}
-
-inline int WLevDistance::SetReplaceP0( int nNewP0 )
-{
- int nTmp = nRepP0;
- nRepP0 = nNewP0;
- return nTmp;
-}
-
-inline int WLevDistance::SetInsertQ0( int nNewQ0 )
-{
- int nTmp = nInsQ0;
- nInsQ0 = nNewQ0;
- return nTmp;
-}
-
-inline int WLevDistance::SetDeleteR0( int nNewR0 )
-{
- int nTmp = nDelR0;
- nDelR0 = nNewR0;
- return nTmp;
-}
-
-inline bool WLevDistance::SetSplit( bool bNewSplit )
-{
- bool bTmp = bSplitCount;
- bSplitCount = bNewSplit;
- return bTmp;
-}
#endif