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/dockwin.hxx | |
parent | loplugin:useuniqueptr in SwSubFont::DoOnCapitals (diff) | |
download | core-59887868da3499c68d5f259cfa48178354397448.tar.gz core-59887868da3499c68d5f259cfa48178354397448.zip |
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/dockwin.hxx')
-rw-r--r-- | include/vcl/dockwin.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index a4f99a7e2ffa..d2e6a585d633 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -31,7 +31,7 @@ // data to be sent with docking events struct DockingData { - Point maMousePos; // in + Point const maMousePos; // in tools::Rectangle maTrackRect; // in/out bool mbFloating; // out @@ -42,9 +42,9 @@ struct DockingData struct EndDockingData { - tools::Rectangle maWindowRect; // in - bool mbFloating; // in - bool mbCancelled; // in + tools::Rectangle const maWindowRect; // in + bool const mbFloating; // in + bool const mbCancelled; // in EndDockingData( const tools::Rectangle& rRect, bool b, bool bCancelled ) : maWindowRect( rRect ), mbFloating( b ), mbCancelled( bCancelled ) @@ -53,8 +53,8 @@ struct EndDockingData struct EndPopupModeData { - Point maFloatingPos; // in - bool mbTearoff; // in + Point const maFloatingPos; // in + bool const mbTearoff; // in EndPopupModeData( const Point& rPos, bool bTearoff ) : maFloatingPos( rPos ), mbTearoff( bTearoff ) |