vcl/source/app/salvtables.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 4096e0ceb5604295aea2dab6567f777dd47f0481
Author: Caolán McNamara <[email protected]>
AuthorDate: Mon Jul 15 19:57:50 2019 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Mon Jul 15 22:30:21 2019 +0200
cid#1448240 Unchecked dynamic_cast
Change-Id: I1d76775d3f78a128aebce1d3b4018e437cf0931b
Reviewed-on: https://gerrit.libreoffice.org/75652
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index a8a199463418..5aab75be773d 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -1247,6 +1247,7 @@ public:
virtual void collapse(weld::Widget* pEdit, weld::Widget* pButton) override
{
SalInstanceWidget* pVclEdit = dynamic_cast<SalInstanceWidget*>(pEdit);
+ assert(pVclEdit);
SalInstanceWidget* pVclButton =
dynamic_cast<SalInstanceWidget*>(pButton);
vcl::Window* pRefEdit = pVclEdit->getWidget();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits