summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-29 09:49:13 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-10-30 17:39:15 +0200
commit7ba7c1128f469ee5631f3221f6c468ed24c04b98 (patch)
treeb3b66b671ed89b6e1b80e1397e1e0ce97bafc158 /lotuswordpro
parentbc413e15fae3672f580894a3cd7b077d533d8e6c (diff)
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.kaganski@collabora.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/qa/cppunit/test_lotuswordpro.cxx8
1 files changed, 5 insertions, 3 deletions
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);
}