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/commandevent.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/commandevent.hxx')
-rw-r--r-- | include/vcl/commandevent.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/commandevent.hxx b/include/vcl/commandevent.hxx index 703741051205..d8f20a381be5 100644 --- a/include/vcl/commandevent.hxx +++ b/include/vcl/commandevent.hxx @@ -91,7 +91,7 @@ public: class VCL_DLLPUBLIC CommandExtTextInputData { private: - OUString maText; + OUString const maText; std::unique_ptr<ExtTextInputAttr[]> mpTextAttr; sal_Int32 mnCursorPos; sal_uInt16 mnCursorFlags; @@ -203,7 +203,7 @@ enum class ShowDialogId class VCL_DLLPUBLIC CommandDialogData { - ShowDialogId m_nDialogId; + ShowDialogId const m_nDialogId; public: CommandDialogData( ShowDialogId nDialogId ) : m_nDialogId( nDialogId ) @@ -239,7 +239,7 @@ enum class MediaCommand class VCL_DLLPUBLIC CommandMediaData { - MediaCommand m_nMediaId; + MediaCommand const m_nMediaId; bool m_bPassThroughToOS; public: CommandMediaData(MediaCommand nMediaId) @@ -267,7 +267,7 @@ public: class VCL_DLLPUBLIC CommandSwipeData { - double mnVelocityX; + double const mnVelocityX; public: CommandSwipeData() : mnVelocityX(0) @@ -283,8 +283,8 @@ public: class VCL_DLLPUBLIC CommandLongPressData { - double mnX; - double mnY; + double const mnX; + double const mnY; public: CommandLongPressData() : mnX(0) |