summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-06 16:18:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-07 07:21:32 +0100
commitbe354a2abd27548405caf97fdbc814b5a6b06995 (patch)
treea044c734c912a9a194f380d31aabd679772916b2 /vcl
parentc947a25b3a785f8d43160671f79e3bb503dfb1ae (diff)
loplugin:constparams
Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b Reviewed-on: https://gerrit.libreoffice.org/45959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/wmadaptor.hxx2
-rw-r--r--vcl/unx/generic/app/wmadaptor.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/wmadaptor.hxx b/vcl/inc/unx/wmadaptor.hxx
index 506d6617b0e1..6f7f4caaa85c 100644
--- a/vcl/inc/unx/wmadaptor.hxx
+++ b/vcl/inc/unx/wmadaptor.hxx
@@ -293,7 +293,7 @@ public:
* _NET_ACTIVE_WINDOW message to the frame. The frame
* has to be mapped
*/
- void activateWindow( X11SalFrame *pFrame, Time nTimestamp );
+ void activateWindow( X11SalFrame const *pFrame, Time nTimestamp );
};
} // namespace
diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx
index a124cd0e05d6..56e06f691c66 100644
--- a/vcl/unx/generic/app/wmadaptor.cxx
+++ b/vcl/unx/generic/app/wmadaptor.cxx
@@ -2276,7 +2276,7 @@ void WMAdaptor::answerPing( X11SalFrame const * i_pFrame, XClientMessageEvent co
}
}
-void WMAdaptor::activateWindow( X11SalFrame *pFrame, Time nTimestamp )
+void WMAdaptor::activateWindow( X11SalFrame const *pFrame, Time nTimestamp )
{
if (!pFrame->bMapped_)
return;