[Libreoffice-commits] core.git: svtools/qa

Stephan Bergmann sbergman at redhat.com
Thu Nov 20 02:15:14 PST 2014


 svtools/qa/unit/GraphicObjectTest.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b8689142a9760132e43eaffe9d54801ed18fb76b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Nov 20 11:14:44 2014 +0100

    Dispose document when done
    
    Change-Id: I7b15220568717e159f119e79da0016cbc88873cf

diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx
index 26298ae..0c96f15 100644
--- a/svtools/qa/unit/GraphicObjectTest.cxx
+++ b/svtools/qa/unit/GraphicObjectTest.cxx
@@ -223,6 +223,8 @@ void GraphicObjectTest::testSizeBasedAutoSwap()
         CPPUNIT_ASSERT(!pGrafObj1->IsSwappedOut());
         CPPUNIT_ASSERT(!pGrafObj2->IsSwappedOut());
     }
+
+    xComponent->dispose();
 }
 
 CPPUNIT_TEST_SUITE_REGISTRATION(GraphicObjectTest);


More information about the Libreoffice-commits mailing list