[Libreoffice-commits] core.git: vcl/backendtest

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 24 11:38:19 UTC 2021


 vcl/backendtest/VisualBackendTest.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 9c00f3f9cfb0eeb2e4d8524381fbf2367103d0fc
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Tue Feb 23 14:16:14 2021 +0100
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Feb 24 12:37:35 2021 +0100

    do not dispose XDesktop in visualbackendtest
    
    6e35794cad555485955c3b43593497dcdbf29840 changed a warning
    on doing so to an assert, so I think removing this is the same
    that the other test changes in that commit do.
    
    Change-Id: I63b3eb57a42a37e6b607648ab0ae0fb4c56c97e3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111397
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/vcl/backendtest/VisualBackendTest.cxx b/vcl/backendtest/VisualBackendTest.cxx
index 3f1bc723d36c..441588aa611c 100644
--- a/vcl/backendtest/VisualBackendTest.cxx
+++ b/vcl/backendtest/VisualBackendTest.cxx
@@ -788,8 +788,6 @@ protected:
 
     void DeInit() override
     {
-        uno::Reference<lang::XComponent> xComponent(comphelper::getProcessComponentContext(), uno::UNO_QUERY_THROW);
-        xComponent->dispose();
         comphelper::setProcessServiceFactory(nullptr);
     }
 };


More information about the Libreoffice-commits mailing list