summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-06 09:31:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-06 11:58:09 +0200
commit0d56337387dd08315410d62efd525c552569d60a (patch)
tree0972f18546eb6d41f14304bb6063cf09add019df /sot
parent0219788cb57e51820d0c5ea99d570efd735cfb72 (diff)
clang-tidy:clang-analyzer-optin.performance.Padding
noting that XMLTokenEnum was already being treated as being limited to 32-bits, we bitmask it together with namespaces Change-Id: Ic48f2a662452d1b8e022078d31a723d2ac65aef0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121707 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot')
-rw-r--r--sot/inc/sysformats.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sot/inc/sysformats.hxx b/sot/inc/sysformats.hxx
index 7bca96ef425c..f3a399f4133a 100644
--- a/sot/inc/sysformats.hxx
+++ b/sot/inc/sysformats.hxx
@@ -31,14 +31,14 @@
struct SotAction_Impl
{
SotClipboardFormatId nFormatId; // Clipboard Id
- sal_uInt16 nAction; // Action Id
SotExchangeActionFlags nFlags; // Action Id
+ sal_uInt16 nAction; // Action Id
sal_uInt8 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) {}
+ : nFormatId(_nFormatId), nFlags(_nFlags), nAction(_nAction), nContextCheckId(_nContextCheckId) {}
constexpr SotAction_Impl(SotClipboardFormatId _nFormatId, sal_uInt16 _nAction)
- : nFormatId(_nFormatId), nAction(_nAction), nFlags(SotExchangeActionFlags::NONE), nContextCheckId(0) {}
+ : nFormatId(_nFormatId), nFlags(SotExchangeActionFlags::NONE), nAction(_nAction), nContextCheckId(0) {}
};
namespace sot