diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-03-29 14:29:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-03-29 14:35:13 +0300 |
commit | d1904070e749d38d7af6323d6dcb3c3c156a3853 (patch) | |
tree | bbd4e660c6bb31b15e4a8132a2febb10fde90598 /sc/qa/unit/opencl-test.cxx | |
parent | d739811038c54081ea4039a939af8f320b31378b (diff) |
ScOpenCLTest is not a FiltersTest
Remove unneeded derivation and thus the load() function implementation
too.
Change-Id: If796741198fea141c0d68505893a7f70f048d515
Diffstat (limited to 'sc/qa/unit/opencl-test.cxx')
-rw-r--r-- | sc/qa/unit/opencl-test.cxx | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index dfdf56086a65..26582c219c73 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -4,7 +4,6 @@ */ #include <sal/config.h> -#include <unotest/filters-test.hxx> #include <test/bootstrapfixture.hxx> #include <rtl/strbuf.hxx> #include <osl/file.hxx> @@ -38,11 +37,8 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -/* Implementation of Filters test */ - class ScOpenCLTest - : public test::FiltersTest - , public ScBootstrapFixture + : public ScBootstrapFixture { public: ScOpenCLTest(); @@ -63,9 +59,6 @@ public: virtual void setUp() override; virtual void tearDown() override; - virtual bool load( const OUString &rFilter, const OUString &rURL, - const OUString &rUserData, SfxFilterFlags nFilterFlags, - SotClipboardFormatId nClipboardID, unsigned int nFilterVersion) override; void testSystematic(); void testSharedFormulaXLS(); #if 0 @@ -557,19 +550,6 @@ bool ScOpenCLTest::initTestEnv(const OUString& fileName, sal_Int32 nFormat, return true; } -bool ScOpenCLTest::load(const OUString &rFilter, const OUString &rURL, - const OUString &rUserData, SfxFilterFlags nFilterFlags, - SotClipboardFormatId nClipboardID, unsigned int nFilterVersion) -{ - ScDocShellRef xDocShRef = ScBootstrapFixture::load(rURL, rFilter, rUserData, - OUString(), nFilterFlags, nClipboardID, nFilterVersion ); - bool bLoaded = xDocShRef.Is(); - //reference counting of ScDocShellRef is very confused. - if (bLoaded) - xDocShRef->DoClose(); - return bLoaded; -} - bool ScOpenCLTest::detectOpenCLDevice() { sc::FormulaGroupInterpreter::enableOpenCL_UnitTestsOnly(); |