summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/extras/sccellrangeobj.cxx2
-rw-r--r--sc/qa/extras/sccondformats.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/qa/extras/sccellrangeobj.cxx b/sc/qa/extras/sccellrangeobj.cxx
index 95f94d52b81e..40a3ebc638c1 100644
--- a/sc/qa/extras/sccellrangeobj.cxx
+++ b/sc/qa/extras/sccellrangeobj.cxx
@@ -127,7 +127,7 @@ void ScCellRangeObj::testSortOOB()
aSort[0].SortAscending = true;
aProps[0].Name = "SortFields";
- aProps[0].Value = uno::makeAny(aSort);
+ aProps[0].Value <<= aSort;
xSortable->sort(aProps);
}
diff --git a/sc/qa/extras/sccondformats.cxx b/sc/qa/extras/sccondformats.cxx
index 0f8119995929..8fc4eaca3916 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 <<= OUString("Result2");
aPropertyValueList[1].Name = SC_UNONAME_FORMULA1;
- aPropertyValueList[1].Value = uno::makeAny<OUString>("$Sheet1.$B$2");
+ aPropertyValueList[1].Value <<= OUString("$Sheet1.$B$2");
aPropertyValueList[2].Name = SC_UNONAME_FORMULA2;
- aPropertyValueList[2].Value = uno::makeAny<OUString>("$Sheet1.$A$2");
+ aPropertyValueList[2].Value <<= 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 <<= table::CellAddress(0, 0, 16);
xSheetConditionalEntries->addNew(aPropertyValueList);
CPPUNIT_ASSERT_EQUAL(sal_Int32(2), xSheetConditionalEntries->getCount());
xProps->setPropertyValue(SC_UNONAME_CONDFMT, uno::makeAny(xSheetConditionalEntries));