summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y
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/unx/gtk/a11y
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/unx/gtk/a11y')
-rw-r--r--vcl/unx/gtk/a11y/atkutil.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkwindow.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx
index a57051f4c577..fab7902d588c 100644
--- a/vcl/unx/gtk/a11y/atkutil.cxx
+++ b/vcl/unx/gtk/a11y/atkutil.cxx
@@ -457,7 +457,7 @@ static void handle_toolbox_highlight(vcl::Window *pWindow)
notify_toolbox_item_focus(pToolBox);
}
-static void handle_toolbox_highlightoff(vcl::Window *pWindow)
+static void handle_toolbox_highlightoff(vcl::Window const *pWindow)
{
ToolBox* pToolBoxParent = dynamic_cast< ToolBox* >( pWindow->GetParent() );
diff --git a/vcl/unx/gtk/a11y/atkwindow.cxx b/vcl/unx/gtk/a11y/atkwindow.cxx
index 24b464299de2..581e81d23db4 100644
--- a/vcl/unx/gtk/a11y/atkwindow.cxx
+++ b/vcl/unx/gtk/a11y/atkwindow.cxx
@@ -37,7 +37,7 @@ static void (* window_real_initialize) (AtkObject *obj, gpointer data) = nullptr
static void (* window_real_finalize) (GObject *obj) = nullptr;
static void
-init_from_window( AtkObject *accessible, vcl::Window *pWindow )
+init_from_window( AtkObject *accessible, vcl::Window const *pWindow )
{
static AtkRole aDefaultRole = ATK_ROLE_INVALID;