summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatapilottable2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xdatapilottable2.cxx')
-rw-r--r--test/source/sheet/xdatapilottable2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xdatapilottable2.cxx b/test/source/sheet/xdatapilottable2.cxx
index dd29aa3064c8..7d9e8ac97335 100644
--- a/test/source/sheet/xdatapilottable2.cxx
+++ b/test/source/sheet/xdatapilottable2.cxx
@@ -242,7 +242,7 @@ void XDataPilotTable2::buildDataFields( uno::Reference< sheet::XDataPilotTable2
for( sal_Int32 i = 0; i < nFieldCount; ++i)
{
uno::Reference< beans::XPropertySet > xPropSet(xIndex->getByIndex(i), UNO_QUERY_THROW);
- Any aAny = xPropSet->getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Orientation")));
+ Any aAny = xPropSet->getPropertyValue(rtl::OUString("Orientation"));
sheet::DataPilotFieldOrientation aOrientation;
CPPUNIT_ASSERT( aAny >>= aOrientation );