lotuswordpro/qa/cppunit/test_lotuswordpro.cxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 7ba7c1128f469ee5631f3221f6c468ed24c04b98
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Oct 29 09:49:13 2021 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sat Oct 30 17:39:15 2021 +0200

    Prepare for removal of non-const operator[] from Sequence in lotuswordpro
    
    Change-Id: Id71f7a16d5ba0b47676d11136ef327205c370aab
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124375
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/lotuswordpro/qa/cppunit/test_lotuswordpro.cxx 
b/lotuswordpro/qa/cppunit/test_lotuswordpro.cxx
index 78a5426a5a79..f4c16903059f 100644
--- a/lotuswordpro/qa/cppunit/test_lotuswordpro.cxx
+++ b/lotuswordpro/qa/cppunit/test_lotuswordpro.cxx
@@ -7,6 +7,10 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include <sal/config.h>
+
+#include <comphelper/propertyvalue.hxx>
+
 #include <unotest/filters-test.hxx>
 #include <test/bootstrapfixture.hxx>
 #include <com/sun/star/document/XFilter.hpp>
@@ -50,9 +54,7 @@ namespace
         const OUString &rURL, const OUString &,
         SfxFilterFlags, SotClipboardFormatId, unsigned int)
     {
-        uno::Sequence< beans::PropertyValue > aDescriptor(1);
-        aDescriptor[0].Name = "URL";
-        aDescriptor[0].Value <<= rURL;
+        uno::Sequence aDescriptor{ comphelper::makePropertyValue("URL", rURL) 
};
         return m_xFilter->filter(aDescriptor);
     }
 

Reply via email to