From dc50b7f952cf339f66fcdf1ac78d7fbeb31014d4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Aug 2019 16:14:44 +0200 Subject: loplugin:sequenceloop in writerfilter..xmlhelp Change-Id: I7c9c911aa6b051eeab46344f25ea2919605de645 Reviewed-on: https://gerrit.libreoffice.org/77534 Tested-by: Jenkins Reviewed-by: Noel Grandin --- writerfilter/source/rtftok/rtfdocumentimpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'writerfilter/source/rtftok') diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index a022b6c67de3..14fb9f711527 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -3138,7 +3138,7 @@ RTFError RTFDocumentImpl::popState() xClipboardPropertyContainer, uno::UNO_QUERY); uno::Reference xDocumentPropertySet(xDocumentPropertyContainer, uno::UNO_QUERY); - uno::Sequence aClipboardProperties + const uno::Sequence aClipboardProperties = xClipboardPropertySet->getPropertySetInfo()->getProperties(); uno::Sequence aDocumentProperties = xDocumentPropertySet->getPropertySetInfo()->getProperties(); -- cgit v1.2.3