summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-26 23:45:42 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-26 23:58:44 +0100
commite8ed900016f0c51bc0374bae2a2963510e1ddbdc (patch)
treeeca5b36b476e946d82d98f30ad386b303e8421c6 /chart2
parenteaeaf871f1d77bf15e262451bc103b4eb976ca72 (diff)
improve formatting
Change-Id: Ic174dee2b0c3005b15b30348bf6aebf20ce50fb8
Diffstat (limited to 'chart2')
-rw-r--r--chart2/qa/extras/charttest.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/qa/extras/charttest.hxx b/chart2/qa/extras/charttest.hxx
index e1ce5a5c5aae..05ffda9256de 100644
--- a/chart2/qa/extras/charttest.hxx
+++ b/chart2/qa/extras/charttest.hxx
@@ -49,7 +49,6 @@
using namespace com::sun::star;
using namespace com::sun::star::uno;
-
class ChartTest : public test::BootstrapFixture, public unotest::MacrosTest
{
public:
@@ -114,7 +113,7 @@ boost::shared_ptr<utl::TempFile> ChartTest::reload(const OUString& rFilterName)
}
else if(rFilterName == "calc8")
{
- // validate(pTempFile->GetFileName(), test::ODF);
+ validate(pTempFile->GetFileName(), test::ODF);
}
CPPUNIT_ASSERT(mxComponent.is());
@@ -136,6 +135,7 @@ void ChartTest::tearDown()
test::BootstrapFixture::tearDown();
}
+
Reference< lang::XComponent > getChartCompFromSheet( sal_Int32 nSheet, uno::Reference< lang::XComponent > xComponent )
{
// let us assume that we only have one chart per sheet
@@ -165,6 +165,7 @@ Reference< lang::XComponent > getChartCompFromSheet( sal_Int32 nSheet, uno::Refe
return xChartComp;
}
+
Reference< chart2::XChartDocument > getChartDocFromSheet( sal_Int32 nSheet, uno::Reference< lang::XComponent > xComponent )
{
uno::Reference< chart2::XChartDocument > xChartDoc ( getChartCompFromSheet(nSheet, xComponent), UNO_QUERY_THROW );
@@ -210,7 +211,6 @@ Reference< chart2::XDataSeries > getDataSeriesFromDoc( uno::Reference< chart2::X
return xSeries;
}
-
uno::Sequence < OUString > getWriterChartColumnDescriptions( Reference< lang::XComponent > mxComponent )
{
uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(mxComponent, uno::UNO_QUERY);