summaryrefslogtreecommitdiff
path: root/sot/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 10:29:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-09 08:10:24 +0200
commit1de7e818a417a412678013c100b4bf73fd8858ac (patch)
treeab960efb3e261fbc0672df162bae1f1225fd4455 /sot/inc
parent56940b766e5d52cb1c17b4250e4c7e2c375b7b65 (diff)
loplugin:constfields in smoketest..sot
Change-Id: I59ceda8ff85cc7b348882a6e1c62491b74297801 Reviewed-on: https://gerrit.libreoffice.org/61549 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot/inc')
-rw-r--r--sot/inc/sysformats.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sot/inc/sysformats.hxx b/sot/inc/sysformats.hxx
index c04f8bb8be95..38276e7e4f9c 100644
--- a/sot/inc/sysformats.hxx
+++ b/sot/inc/sysformats.hxx
@@ -28,10 +28,10 @@
struct SotAction_Impl
{
- SotClipboardFormatId nFormatId; // Clipboard Id
- sal_uInt16 nAction; // Action Id
- SotExchangeActionFlags nFlags; // Action Id
- sal_uInt8 nContextCheckId; // additional check of content in clipboard
+ SotClipboardFormatId const nFormatId; // Clipboard Id
+ sal_uInt16 const nAction; // Action Id
+ SotExchangeActionFlags const nFlags; // Action Id
+ sal_uInt8 const nContextCheckId; // additional check of content in clipboard
constexpr SotAction_Impl(SotClipboardFormatId _nFormatId, sal_uInt16 _nAction, SotExchangeActionFlags _nFlags, sal_uInt8 _nContextCheckId)
: nFormatId(_nFormatId), nAction(_nAction), nFlags(_nFlags), nContextCheckId(_nContextCheckId) {}