diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-01-10 19:55:44 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-01-11 09:50:18 +0000 |
commit | 4a105e03f584b106fa392079dc0573c1806fdaa7 (patch) | |
tree | d796ae075c2d566c4b303a7586893ccf9926c636 /sw | |
parent | cfb2a587bc59d2a0ff520dd09393f898506055d6 (diff) |
CppunitTest_sw_ooxmlexport5: remove unused preTest()
This was added by accident in commit
a2a2e07996a0e49164663eaec5d79481bf7bb3e0 (sw: split
CppunitTest_sw_uiwriter2 into uiwriter2 and uiwriter5, 2022-03-02).
Change-Id: I674e19fb454a82f0232ee828722a556197928d87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145285
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter5.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter5.cxx b/sw/qa/extras/uiwriter/uiwriter5.cxx index 0ffd8213f06e..0e8974823c62 100644 --- a/sw/qa/extras/uiwriter/uiwriter5.cxx +++ b/sw/qa/extras/uiwriter/uiwriter5.cxx @@ -62,21 +62,6 @@ public: { } - virtual std::unique_ptr<Resetter> preTest(const char* filename) override - { - m_aSavedSettings = Application::GetSettings(); - if (OString(filename).indexOf("LocaleArabic") != -1) - { - std::unique_ptr<Resetter> pResetter( - new Resetter([this]() { Application::SetSettings(this->m_aSavedSettings); })); - AllSettings aSettings(m_aSavedSettings); - aSettings.SetLanguageTag(LanguageTag("ar")); - Application::SetSettings(aSettings); - return pResetter; - } - return nullptr; - } - protected: AllSettings m_aSavedSettings; }; |