diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-02 17:45:02 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-02 19:29:27 +0200 |
commit | 17339a6e1f090972781af94e96f6a39408e49c88 (patch) | |
tree | d834ef17600b14d165ddb07d83d2d4b8fc9a1816 /linguistic | |
parent | e7c9f78e4ce5ab5ecd3ccfd06fef71f10f5df8db (diff) |
Simplify a bit
Change-Id: I0d03a1c68cec9ff0edc2c14f3837054a2c693a7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152534
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/gciterator.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index 5ab816dfa802..2ef50fbeab27 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -477,12 +477,9 @@ void GrammarCheckingIterator::ProcessResult( if (bContinueWithNextPara) { // we need to continue with the next paragraph - uno::Reference< text::XFlatParagraph > xFlatParaNext; if (rxFlatParagraphIterator.is()) - xFlatParaNext = rxFlatParagraphIterator->getNextPara(); - { - AddEntry( rxFlatParagraphIterator, xFlatParaNext, rRes.aDocumentIdentifier, 0, bIsAutomaticChecking ); - } + AddEntry(rxFlatParagraphIterator, rxFlatParagraphIterator->getNextPara(), + rRes.aDocumentIdentifier, 0, bIsAutomaticChecking); } } |