vcl/source/control/ctrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 061321bbb54adf9b0df102cdfd7f956f97dcb6b9 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Oct 6 09:19:16 2017 +0100 coverity#1418966 static_cast should be sufficient Change-Id: Ieae8695cb36b1779f1b8437bddb887cd24d621e8 diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx index 38509814f5b0..736722387122 100644 --- a/vcl/source/control/ctrl.cxx +++ b/vcl/source/control/ctrl.cxx @@ -427,7 +427,7 @@ void Control::LogicInvalidate(const tools::Rectangle* /*pRectangle*/) { if (pWindow->ImplIsFloatingWindow()) { - dynamic_cast<FloatingWindow*>(pWindow)->LogicInvalidate(nullptr); + static_cast<FloatingWindow*>(pWindow)->LogicInvalidate(nullptr); return; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits