Kaydet (Commit) 58aeb8e6 authored tarafından Pierre-Eric Pelloux-Prayer's avatar Pierre-Eric Pelloux-Prayer Kaydeden (comit) Noel Power

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/1643Reviewed-by: 's avatarNoel Power <noel.power@suse.com>
Tested-by: 's avatarNoel Power <noel.power@suse.com>
üst 3914d00c
......@@ -251,6 +251,11 @@ protected:
uno::Reference<lang::XComponent> xComponent(xStorable, uno::UNO_QUERY);
xComponent->dispose();
mxComponent = loadFromDesktop(aTempFile.GetURL());
if (mpXmlBuffer)
{
xmlBufferFree(mpXmlBuffer);
mpXmlBuffer = 0;
}
}
void finish()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment