diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 09:40:42 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-17 15:39:13 +0000 |
commit | 9ac8a57e52a25870d497241c64bff3da0272cf4d (patch) | |
tree | 28841f59f47f03b3cba8a42c3249b299c498c2cd /sc/qa/extras | |
parent | a8cfb651ac0d2669d5780b707bfb1efb43f0f34c (diff) |
replace <<= with assign for <<= with rhs Any
makeAny and Any ctor return an Any
Change-Id: Iaa361bc315d785f80153acf1009bf47d109728ec
Reviewed-on: https://gerrit.libreoffice.org/29914
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sc/qa/extras')
-rw-r--r-- | sc/qa/extras/sccondformats.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/extras/sccondformats.cxx b/sc/qa/extras/sccondformats.cxx index 5861824d4970..0f8119995929 100644 --- a/sc/qa/extras/sccondformats.cxx +++ b/sc/qa/extras/sccondformats.cxx @@ -81,15 +81,15 @@ void ScConditionalFormatTest::testCondFormat() uno::Sequence< beans::PropertyValue > aPropertyValueList(5); aPropertyValueList[0].Name = SC_UNONAME_STYLENAME; - aPropertyValueList[0].Value <<= uno::makeAny<OUString>("Result2"); + aPropertyValueList[0].Value = uno::makeAny<OUString>("Result2"); aPropertyValueList[1].Name = SC_UNONAME_FORMULA1; - aPropertyValueList[1].Value <<= uno::makeAny<OUString>("$Sheet1.$B$2"); + aPropertyValueList[1].Value = uno::makeAny<OUString>("$Sheet1.$B$2"); aPropertyValueList[2].Name = SC_UNONAME_FORMULA2; - aPropertyValueList[2].Value <<= uno::makeAny<OUString>("$Sheet1.$A$2"); + aPropertyValueList[2].Value = uno::makeAny<OUString>("$Sheet1.$A$2"); aPropertyValueList[3].Name = SC_UNONAME_OPERATOR; aPropertyValueList[3].Value <<= sheet::ConditionOperator_EQUAL; aPropertyValueList[4].Name = SC_UNONAME_SOURCEPOS; - aPropertyValueList[4].Value <<= uno::makeAny(table::CellAddress(0, 0, 16)); + aPropertyValueList[4].Value = uno::makeAny(table::CellAddress(0, 0, 16)); xSheetConditionalEntries->addNew(aPropertyValueList); CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xSheetConditionalEntries->getCount()); xProps->setPropertyValue(SC_UNONAME_CONDFMT, uno::makeAny(xSheetConditionalEntries)); |