Kaydet (Commit) 0980a620 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:unusedmethods unused return value in i18npool

Change-Id: I29844009f8357301265421325fc2070f2c9296bf
üst bdeb1588
...@@ -266,7 +266,7 @@ int WLevDistance::WLD( const sal_Unicode* cString, sal_Int32 nStringLen ) ...@@ -266,7 +266,7 @@ int WLevDistance::WLD( const sal_Unicode* cString, sal_Int32 nStringLen )
// Calculating nLimit, nReplP0, nInsQ0, nDelR0, bSplitCount // Calculating nLimit, nReplP0, nInsQ0, nDelR0, bSplitCount
// from user values nOtherX, nShorterY, nLongerZ, bRelaxed // from user values nOtherX, nShorterY, nLongerZ, bRelaxed
int WLevDistance::CalcLPQR( int nX, int nY, int nZ, bool bRelaxed ) void WLevDistance::CalcLPQR( int nX, int nY, int nZ, bool bRelaxed )
{ {
if ( nX < 0 ) nX = 0; // only positive values if ( nX < 0 ) nX = 0; // only positive values
if ( nY < 0 ) nY = 0; if ( nY < 0 ) nY = 0;
...@@ -286,7 +286,6 @@ int WLevDistance::CalcLPQR( int nX, int nY, int nZ, bool bRelaxed ) ...@@ -286,7 +286,6 @@ int WLevDistance::CalcLPQR( int nX, int nY, int nZ, bool bRelaxed )
nInsQ0 = ( nY ? nLimit / nY : nLimit + 1 ); nInsQ0 = ( nY ? nLimit / nY : nLimit + 1 );
nDelR0 = ( nZ ? nLimit / nZ : nLimit + 1 ); nDelR0 = ( nZ ? nLimit / nZ : nLimit + 1 );
bSplitCount = bRelaxed; bSplitCount = bRelaxed;
return nLimit;
} }
// greatest common divisor according to Euklid (chaindivision) // greatest common divisor according to Euklid (chaindivision)
......
...@@ -179,7 +179,7 @@ public: ...@@ -179,7 +179,7 @@ public:
/** Calculate the internal weighs corresponding to the user input values. /** Calculate the internal weighs corresponding to the user input values.
@returns nLimit for later comparison with WLD() @returns nLimit for later comparison with WLD()
*/ */
int CalcLPQR( int nOtherX, int nShorterY, int nLongerZ, void CalcLPQR( int nOtherX, int nShorterY, int nLongerZ,
bool bRelaxed = true ); bool bRelaxed = true );
inline int GetLimit() const { return nLimit; } inline int GetLimit() const { return nLimit; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment