summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2018-01-31 21:10:56 +0000
committerJens Carl <j.carl43@gmx.de>2018-02-01 03:17:12 +0100
commite587def20d1735474857f56dd3d2c06cf7673db3 (patch)
tree8614dbb96337896e54a682b68fb199865da67aaf /test/source
parent1056f14525c5f2cf2e73d461b1aa5e7d763cd1d0 (diff)
Remove shared mxComponent in scdatapilottableobj
Change-Id: I2cf424ecfa2748cfca0f85bab8da820c6286d331 Reviewed-on: https://gerrit.libreoffice.org/49061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'test/source')
-rw-r--r--test/source/sheet/xdatapilotdescriptor.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/source/sheet/xdatapilotdescriptor.cxx b/test/source/sheet/xdatapilotdescriptor.cxx
index 5315734eb5ad..33557a72fa99 100644
--- a/test/source/sheet/xdatapilotdescriptor.cxx
+++ b/test/source/sheet/xdatapilotdescriptor.cxx
@@ -69,13 +69,6 @@ void XDataPilotDescriptor::testGetFilterDescriptor()
void XDataPilotDescriptor::testGetDataPilotFields_Impl( uno::Reference< sheet::XDataPilotDescriptor > const & xDescr)
{
- //this method should only be called once but needs to be called before any of the other tests
- static bool bCalled = false;
- if (bCalled)
- return;
- else
- bCalled = true;
-
uno::Reference< container::XIndexAccess > xIndex(xDescr->getDataPilotFields(), UNO_QUERY_THROW);
CPPUNIT_ASSERT( xIndex.is());