diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-13 13:08:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-14 11:40:32 +0200 |
commit | 59887868da3499c68d5f259cfa48178354397448 (patch) | |
tree | fea3595f08d0a2ff07070c34bc2b94bbb7a446e1 /include/vcl/event.hxx | |
parent | afb0dfc41ebb0a6a96ae31c122c7f97743dc7486 (diff) |
loplugin:constfields in vcl
Change-Id: I1072642be4fdfa720e61f2d7bad3c2701eb81610
Reviewed-on: https://gerrit.libreoffice.org/60430
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/event.hxx')
-rw-r--r-- | include/vcl/event.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx index 22486490977a..688811746ccc 100644 --- a/include/vcl/event.hxx +++ b/include/vcl/event.hxx @@ -190,7 +190,7 @@ namespace o3tl class VCL_DLLPUBLIC HelpEvent { private: - Point maPos; + Point const maPos; HelpEventMode mnMode; bool mbKeyboardActivated; @@ -220,9 +220,9 @@ private: /// RenderContext to which we should draw - can be a VirtualDevice or anything. VclPtr<vcl::RenderContext> mpRenderContext; - tools::Rectangle maOutRect; - sal_uInt16 mnItemId; - sal_uInt16 mnStyle; + tools::Rectangle const maOutRect; + sal_uInt16 const mnItemId; + sal_uInt16 const mnStyle; public: UserDrawEvent(vcl::Window* pWindow, vcl::RenderContext* pRenderContext, @@ -249,7 +249,7 @@ inline UserDrawEvent::UserDrawEvent(vcl::Window* pWindow, vcl::RenderContext* pR class VCL_DLLPUBLIC TrackingEvent { private: - MouseEvent maMEvt; + MouseEvent const maMEvt; TrackingEventFlags mnFlags; public: |