loplugin:unusedfields
Change-Id: Ib574403a7f7f8b11c6263c9c19ec6b65c8374ddd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115753 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -41,7 +41,6 @@ using namespace ::com::sun::star;
|
||||
/// Sample tests for import
|
||||
class XmlScriptTest : public test::BootstrapFixture, public unotest::MacrosTest, public XmlTestTools
|
||||
{
|
||||
uno::Reference<lang::XComponent> mxComponent;
|
||||
OUString maDataPath;
|
||||
|
||||
void testBasicElements();
|
||||
@@ -53,7 +52,6 @@ class XmlScriptTest : public test::BootstrapFixture, public unotest::MacrosTest,
|
||||
|
||||
public:
|
||||
virtual void setUp() override;
|
||||
virtual void tearDown() override;
|
||||
|
||||
virtual void registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx) override
|
||||
{
|
||||
@@ -76,14 +74,6 @@ void XmlScriptTest::setUp()
|
||||
mxDesktop.set(frame::Desktop::create(mxComponentContext));
|
||||
}
|
||||
|
||||
void XmlScriptTest::tearDown()
|
||||
{
|
||||
if (mxComponent.is())
|
||||
mxComponent->dispose();
|
||||
|
||||
test::BootstrapFixture::tearDown();
|
||||
}
|
||||
|
||||
Reference<container::XNameContainer> XmlScriptTest::importFile(std::u16string_view sFileName)
|
||||
{
|
||||
OUString sFullName = m_directories.getURLFromSrc(maDataPath) + sFileName;
|
||||
|
||||
Reference in New Issue
Block a user