diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-07 01:22:11 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-07 00:22:40 +0000 |
commit | d223aa57a1d6e356f24cd5ac4ddd702336b2ee87 (patch) | |
tree | a695732df6a402f3644945728e89a5a860cebaaf /sc | |
parent | 2844f3114c2a7b122fe299ed21ed06ca57866e47 (diff) |
these static vars are cargo cult copy&paste
Change-Id: Iabf02c2afc156cf30841eda48f3d67b18bb1e720
Reviewed-on: https://gerrit.libreoffice.org/24710
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/perf/scperfobj.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sc/qa/perf/scperfobj.cxx b/sc/qa/perf/scperfobj.cxx index 8bc12cab2cef..c08dcb1c0f80 100644 --- a/sc/qa/perf/scperfobj.cxx +++ b/sc/qa/perf/scperfobj.cxx @@ -78,8 +78,7 @@ public: private: - static sal_Int32 nTest; - static uno::Reference< lang::XComponent > mxComponent; + uno::Reference< lang::XComponent > mxComponent; // tests void testSheetFindAll(); @@ -102,9 +101,6 @@ private: void testMatConcatLarge(); }; -sal_Int32 ScPerfObj::nTest = 0; -uno::Reference< lang::XComponent > ScPerfObj::mxComponent; - ScPerfObj::ScPerfObj() : CalcUnoApiTest("sc/qa/perf/testdocuments/") { @@ -112,9 +108,6 @@ ScPerfObj::ScPerfObj() uno::Reference< uno::XInterface > ScPerfObj::init(const OUString& aFileName) { - if (mxComponent.is()) - closeDocument(mxComponent); - OUString aFileURL; createFileURL(aFileName, aFileURL); @@ -127,7 +120,6 @@ uno::Reference< uno::XInterface > ScPerfObj::init(const OUString& aFileName) void ScPerfObj::setUp() { - nTest++; CalcUnoApiTest::setUp(); } |