summaryrefslogtreecommitdiff
path: root/vcl/source/window/layout.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 09:02:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 09:57:26 +0200
commit72f36adb93d24a3da8868dad128ab2eca0124fda (patch)
tree06baca9f873aa59e16c5f3612f5a464c2e0eba46 /vcl/source/window/layout.cxx
parentbff8cd3d52223002263dcb8c09758c4fc753b6e3 (diff)
loplugin:constparams in vcl
Change-Id: I36afe2107e07ffb9b73c0b76be600e3e999a0fd4 Reviewed-on: https://gerrit.libreoffice.org/40116 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/layout.cxx')
-rw-r--r--vcl/source/window/layout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index af32ca98dab2..212dc4e4d600 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -2246,7 +2246,7 @@ short MessageDialog::get_response(const vcl::Window *pWindow) const
return m_pUIBuilder->get_response(pWindow);
}
-void MessageDialog::setButtonHandlers(VclButtonBox *pButtonBox)
+void MessageDialog::setButtonHandlers(VclButtonBox const *pButtonBox)
{
assert(pButtonBox);
for (vcl::Window* pChild = pButtonBox->GetWindow(GetWindowType::FirstChild); pChild;
@@ -2285,7 +2285,7 @@ void MessageDialog::setButtonHandlers(VclButtonBox *pButtonBox)
}
}
-void MessageDialog::SetMessagesWidths(vcl::Window *pParent,
+void MessageDialog::SetMessagesWidths(vcl::Window const *pParent,
VclMultiLineEdit *pPrimaryMessage, VclMultiLineEdit *pSecondaryMessage)
{
if (pSecondaryMessage)