From c6da1842956ceced501858d582f7dcaded0a324a Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 26 Jun 2014 19:35:48 -0400 Subject: Track all uses of ErrorBarX and ErrorBarY UNO property names. Change-Id: I994424c98d977c3a8f9138cccc17348de813a9d7 --- chart2/qa/extras/chart2import.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chart2/qa/extras/chart2import.cxx') diff --git a/chart2/qa/extras/chart2import.cxx b/chart2/qa/extras/chart2import.cxx index d5a42a1d9b0f..1f31cad1fdae 100644 --- a/chart2/qa/extras/chart2import.cxx +++ b/chart2/qa/extras/chart2import.cxx @@ -89,7 +89,7 @@ void Chart2ImportTest::Fdo60083() // test that y error bars are there Reference< beans::XPropertySet > xErrorBarYProps; - xPropSet->getPropertyValue("ErrorBarY") >>= xErrorBarYProps; + xPropSet->getPropertyValue(CHART_UNONAME_ERRORBAR_Y) >>= xErrorBarYProps; CPPUNIT_ASSERT(xErrorBarYProps.is()); { sal_Int32 nErrorBarStyle; @@ -121,7 +121,7 @@ void Chart2ImportTest::Fdo60083() // test that x error bars are not imported Reference< beans::XPropertySet > xErrorBarXProps; - xPropSet->getPropertyValue("ErrorBarX") >>= xErrorBarXProps; + xPropSet->getPropertyValue(CHART_UNONAME_ERRORBAR_X) >>= xErrorBarXProps; CPPUNIT_ASSERT(!xErrorBarXProps.is()); } @@ -139,7 +139,7 @@ void Chart2ImportTest::testErrorBarRange() // test that y error bars are there Reference< beans::XPropertySet > xErrorBarYProps; - xPropSet->getPropertyValue("ErrorBarY") >>= xErrorBarYProps; + xPropSet->getPropertyValue(CHART_UNONAME_ERRORBAR_Y) >>= xErrorBarYProps; CPPUNIT_ASSERT(xErrorBarYProps.is()); sal_Int32 nErrorBarStyle; @@ -169,7 +169,7 @@ void Chart2ImportTest::testErrorBarFormatting() // test that y error bars are there Reference< beans::XPropertySet > xErrorBarYProps; - xPropSet->getPropertyValue("ErrorBarY") >>= xErrorBarYProps; + xPropSet->getPropertyValue(CHART_UNONAME_ERRORBAR_Y) >>= xErrorBarYProps; CPPUNIT_ASSERT(xErrorBarYProps.is()); util::Color aColor(0); -- cgit v1.2.3