diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-13 08:44:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-13 08:44:46 +0200 |
commit | 8bd9eb833444810dec3debd0215bd26dffc2fb91 (patch) | |
tree | 67af5f48ff3b6a83e50ff8980d8b6fad96cc1446 /svl/source/numbers/zformat.cxx | |
parent | fa7c7b160136e4b08bc1e1aef9017d4596ad6184 (diff) |
loplugin:unusedmethods unused return value in include/svl
Change-Id: I759fe8769daccea07c2157bfb5912df8ba285534
Diffstat (limited to 'svl/source/numbers/zformat.cxx')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 9c5bbf99bdf7..1c7f33bb2f84 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1878,7 +1878,7 @@ static bool lcl_insertStarFillChar( OUStringBuffer& rBuf, sal_Int32 nPos, const return false; } -bool SvNumberformat::GetOutputString(const OUString& sString, +void SvNumberformat::GetOutputString(const OUString& sString, OUString& OutString, Color** ppColor) { @@ -1895,7 +1895,7 @@ bool SvNumberformat::GetOutputString(const OUString& sString, else { *ppColor = nullptr; // no change of color - return false; + return; } *ppColor = NumFor[nIx].GetColor(); const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); @@ -1927,7 +1927,6 @@ bool SvNumberformat::GetOutputString(const OUString& sString, } } OutString = sOutBuff.makeStringAndClear(); - return bRes; } sal_uLong SvNumberformat::ImpGGT(sal_uLong x, sal_uLong y) |