[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 15 13:28:31 UTC 2019
vcl/unx/gtk3/gtk3gtkinst.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 41ec25c48c73023715a5041651f638fcf8615803
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 15 12:11:23 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Jul 15 15:27:03 2019 +0200
cid#1448232 Unchecked dynamic_cast
Change-Id: Ice3f3b2453c0b38288e859bfa87d582365570377
Reviewed-on: https://gerrit.libreoffice.org/75630
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 5b7591d3888c..0094a2cd1627 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -3284,6 +3284,7 @@ public:
virtual void collapse(weld::Widget* pEdit, weld::Widget* pButton) override
{
GtkInstanceWidget* pVclEdit = dynamic_cast<GtkInstanceWidget*>(pEdit);
+ assert(pVclEdit);
GtkInstanceWidget* pVclButton = dynamic_cast<GtkInstanceWidget*>(pButton);
GtkWidget* pRefEdit = pVclEdit->getWidget();
More information about the Libreoffice-commits
mailing list