Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1643
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/43/1643/1
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
---
M sw/qa/extras/inc/swmodeltestbase.hxx
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/sw/qa/extras/inc/swmodeltestbase.hxx b/sw/qa/extras/inc/swmodeltestbase.hxx
index 128983c..cc05b2b 100644
--- a/sw/qa/extras/inc/swmodeltestbase.hxx
+++ b/sw/qa/extras/inc/swmodeltestbase.hxx
@@ -251,6 +251,11 @@
uno::Reference<lang::XComponent> xComponent(xStorable, uno::UNO_QUERY);
xComponent->dispose();
mxComponent = loadFromDesktop(aTempFile.GetURL());
+ if (mpXmlBuffer)
+ {
+ xmlBufferFree(mpXmlBuffer);
+ mpXmlBuffer = 0;
+ }
}
void finish()
--
To view, visit https://gerrit.libreoffice.org/1643
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib7b4bc3a231eb3082567a1d1ed38c96835d43add
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>
Context
- [PATCH] sw unit test: layout dump must be resetted in 'reload' metho... · Pierre-Eric Pelloux-Prayer (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.