diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:31:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:31:32 +0200 |
commit | 66d19e8f6acda6de9300d86cb15edd2dd5f7228f (patch) | |
tree | c9fbcc8b28e43f39a8d6f038b42ad8685aff2075 /linguistic | |
parent | 124ed93a80ceab20b9af5e477c4761785f25f202 (diff) |
loplugin:casttovoid: linguistic
Change-Id: I9d3a91a15dc748567b03709750e416f5f54cb579
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/gciterator.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index 9d853dc567c8..c031a23657c1 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -353,7 +353,6 @@ void GrammarCheckingIterator::ProcessResult( 0 <= rRes.nStartOfNextSentencePosition && rRes.nStartOfNextSentencePosition <= nTextLen && rRes.nStartOfSentencePosition <= rRes.nBehindEndOfSentencePosition && rRes.nBehindEndOfSentencePosition <= rRes.nStartOfNextSentencePosition; - (void) bBoundariesOk; DBG_ASSERT( bBoundariesOk, "inconsistent sentence boundaries" ); uno::Reference< text::XMultiTextMarkup > xMulti( rRes.xFlatParagraph, uno::UNO_QUERY ); @@ -430,7 +429,6 @@ void GrammarCheckingIterator::ProcessResult( uno::Reference< linguistic2::XProofreader > GrammarCheckingIterator::GetGrammarChecker( const lang::Locale &rLocale ) { - (void) rLocale; uno::Reference< linguistic2::XProofreader > xRes; // ---- THREAD SAFE START ---- @@ -674,13 +672,11 @@ linguistic2::ProofreadingResult SAL_CALL GrammarCheckingIterator::checkSentenceA const uno::Reference< uno::XInterface >& xDoc, const uno::Reference< text::XFlatParagraph >& xFlatPara, const OUString& rText, - const lang::Locale& rLocale, + const lang::Locale&, sal_Int32 nStartOfSentencePos, sal_Int32 nSuggestedEndOfSentencePos, sal_Int32 nErrorPosInPara ) { - (void) rLocale; - // for the context menu... linguistic2::ProofreadingResult aRes; |