vcl/unx/gtk3/gtkobject.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit ff3f11a7fa8b7f1096d0bb64a2aa41c4d1edae59
Author:     Arnaud Versini <arnaud.vers...@libreoffice.org>
AuthorDate: Thu Mar 24 14:33:19 2022 +0100
Commit:     Arnaud Versini <arnaud.vers...@libreoffice.org>
CommitDate: Thu Mar 24 17:31:03 2022 +0100

    gtk3 VCL : remove useless check
    
    Change-Id: I45869f2160435da27f1b30acf41dbee76ce524e5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132076
    Tested-by: Jenkins
    Reviewed-by: Arnaud Versini <arnaud.vers...@libreoffice.org>

diff --git a/vcl/unx/gtk3/gtkobject.cxx b/vcl/unx/gtk3/gtkobject.cxx
index 6f8fffd3f0a0..e5adb887cbeb 100644
--- a/vcl/unx/gtk3/gtkobject.cxx
+++ b/vcl/unx/gtk3/gtkobject.cxx
@@ -33,8 +33,6 @@ GtkSalObjectBase::GtkSalObjectBase(GtkSalFrame* pParent)
     , m_pParent(pParent)
     , m_pRegion(nullptr)
 {
-    if (!m_pParent)
-        return;
 }
 
 GtkSalObject::GtkSalObject(GtkSalFrame* pParent, bool bShow)

Reply via email to