diff options
Diffstat (limited to 'test/source/sheet/xdatapilotdescriptor.cxx')
-rw-r--r-- | test/source/sheet/xdatapilotdescriptor.cxx | 7 |
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()); |