sw unit test: layout dump must be resetted in 'reload' method
Otherwise tests relying on layout dumps will parse the wrong dump. Change-Id: Ib7b4bc3a231eb3082567a1d1ed38c96835d43add Reviewed-on: https://gerrit.libreoffice.org/1643 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
This commit is contained in:
committed by
Noel Power
parent
3914d00c32
commit
58aeb8e6aa
@@ -251,6 +251,11 @@ protected:
|
|||||||
uno::Reference<lang::XComponent> xComponent(xStorable, uno::UNO_QUERY);
|
uno::Reference<lang::XComponent> xComponent(xStorable, uno::UNO_QUERY);
|
||||||
xComponent->dispose();
|
xComponent->dispose();
|
||||||
mxComponent = loadFromDesktop(aTempFile.GetURL());
|
mxComponent = loadFromDesktop(aTempFile.GetURL());
|
||||||
|
if (mpXmlBuffer)
|
||||||
|
{
|
||||||
|
xmlBufferFree(mpXmlBuffer);
|
||||||
|
mpXmlBuffer = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void finish()
|
void finish()
|
||||||
|
Reference in New Issue
Block a user