summaryrefslogtreecommitdiff
path: root/test/source/sheet/datapilotfield.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 14:00:40 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 11:21:26 +0200
commite52779d2f8722c713f72aedbf475267440d729f0 (patch)
tree0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /test/source/sheet/datapilotfield.cxx
parente9c4ee996d5a6bf895072613ac4e488346ee5b05 (diff)
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'test/source/sheet/datapilotfield.cxx')
-rw-r--r--test/source/sheet/datapilotfield.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/source/sheet/datapilotfield.cxx b/test/source/sheet/datapilotfield.cxx
index 8a3399c145ad..bf25ba89b384 100644
--- a/test/source/sheet/datapilotfield.cxx
+++ b/test/source/sheet/datapilotfield.cxx
@@ -36,7 +36,7 @@ void DataPilotField::testSortInfo()
uno::Reference< beans::XPropertySet> xPropSet(init(),UNO_QUERY_THROW);
sheet::DataPilotFieldSortInfo aSortInfoValue;
OUString aSortInfo("SortInfo");
- aSortInfoValue.Field = OUString("Col1");
+ aSortInfoValue.Field = "Col1";
aSortInfoValue.IsAscending = false;
aSortInfoValue.Mode = sheet::DataPilotFieldSortMode::MANUAL;
uno::Any xValue;
@@ -102,7 +102,7 @@ void DataPilotField::testAutoShowInfo()
{
uno::Reference< beans::XPropertySet > xPropSet(init(),UNO_QUERY_THROW);
sheet::DataPilotFieldAutoShowInfo aAutoShowInfoValue;
- aAutoShowInfoValue.DataField = OUString("Col1");
+ aAutoShowInfoValue.DataField = "Col1";
aAutoShowInfoValue.IsEnabled = true;
OUString aAutoShowInfo("AutoShowInfo");
uno::Any xValue;
@@ -135,7 +135,7 @@ void DataPilotField::testReference()
{
uno::Reference< beans::XPropertySet > xPropSet(init(),UNO_QUERY_THROW);
sheet::DataPilotFieldReference aReferenceValue;
- aReferenceValue.ReferenceField = OUString("Col1");
+ aReferenceValue.ReferenceField = "Col1";
aReferenceValue.ReferenceItemType = sheet::DataPilotFieldReferenceItemType::NAMED;
OUString aReference("Reference");
uno::Any xValue;