sw/qa/extras/uiwriter/uiwriter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit e46bf197d98a199bf235c6d6820848d98854e67f Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jul 14 17:07:39 2015 +0200 loplugin:salbool Change-Id: Ia8df87e2b6803ebe4ab8d3defa147d20ca8d7422 diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 08d05d5..b0e0457 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -1157,8 +1157,8 @@ void SwUiWriterTest::testTextSearch() CPPUNIT_ASSERT_EQUAL(uno::makeAny(float(com::sun::star::awt::FontWeight::BOLD)), aPropVal2[0].Value); //specifying the search attributes uno::Reference<beans::XPropertySet> xPropSet(xSearchDes, uno::UNO_QUERY_THROW); - xPropSet->setPropertyValue(OUString("SearchWords"), uno::makeAny(sal_Bool(true))); - xPropSet->setPropertyValue(OUString("SearchCaseSensitive"), uno::makeAny(sal_Bool(true))); + xPropSet->setPropertyValue(OUString("SearchWords"), uno::makeAny(true)); + xPropSet->setPropertyValue(OUString("SearchCaseSensitive"), uno::makeAny(true)); //this will search all the BOLD words uno::Reference<container::XIndexAccess> xIndex(xSearch->findAll(xSearchDes)); CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xIndex->getCount()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits