summaryrefslogtreecommitdiff
path: root/vcl/source/window/layout.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-19 15:17:37 +0200
committerNoel Grandin <noel@peralex.com>2014-09-29 12:50:34 +0200
commit26f2da07b1c6074e519d28557a3d1d5518ff6cb4 (patch)
tree6981a11bc7e6fc897771277a7b60a6e3a88cff29 /vcl/source/window/layout.cxx
parentd9632a6effabe8554c4e7e05ee24c16acd0f4f95 (diff)
loplugin: cstylecast
Change-Id: I58ec00d6f8a4cc6188877db1330c5e32c9db12e5
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r--vcl/source/window/layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 3a898f50d5c5..f448b0242500 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -2024,7 +2024,7 @@ void MessageDialog::setButtonHandlers(VclButtonBox *pButtonBox)
{
case WINDOW_PUSHBUTTON:
{
- PushButton* pButton = (PushButton*)pChild;
+ PushButton* pButton = static_cast<PushButton*>(pChild);
pButton->SetClickHdl(LINK(this, MessageDialog, ButtonHdl));
break;
}