Kaydet (Commit) 08de2ef5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-variable

Change-Id: I90ad58235c07b0336a9cee5981a57b9ad16312e7
üst d66af095
...@@ -355,7 +355,6 @@ void GrammarCheckingIterator::ProcessResult( ...@@ -355,7 +355,6 @@ void GrammarCheckingIterator::ProcessResult(
rRes.nBehindEndOfSentencePosition <= rRes.nStartOfNextSentencePosition; rRes.nBehindEndOfSentencePosition <= rRes.nStartOfNextSentencePosition;
(void) bBoundariesOk; (void) bBoundariesOk;
DBG_ASSERT( bBoundariesOk, "inconsistent sentence boundaries" ); DBG_ASSERT( bBoundariesOk, "inconsistent sentence boundaries" );
uno::Sequence< linguistic2::SingleProofreadingError > aErrors = rRes.aErrors;
uno::Reference< text::XMultiTextMarkup > xMulti( rRes.xFlatParagraph, uno::UNO_QUERY ); uno::Reference< text::XMultiTextMarkup > xMulti( rRes.xFlatParagraph, uno::UNO_QUERY );
if (xMulti.is()) // use new API for markups if (xMulti.is()) // use new API for markups
...@@ -492,9 +491,6 @@ uno::Reference< linguistic2::XProofreader > GrammarCheckingIterator::GetGrammarC ...@@ -492,9 +491,6 @@ uno::Reference< linguistic2::XProofreader > GrammarCheckingIterator::GetGrammarC
void GrammarCheckingIterator::DequeueAndCheck() void GrammarCheckingIterator::DequeueAndCheck()
{ {
uno::Sequence< sal_Int32 > aLangPortions;
uno::Sequence< lang::Locale > aLangPortionsLocale;
for (;;) for (;;)
{ {
// ---- THREAD SAFE START ---- // ---- THREAD SAFE START ----
......
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