diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/base/formats.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx index 2dcc65cf2b20..ad0a0c0a5525 100644 --- a/sot/source/base/formats.cxx +++ b/sot/source/base/formats.cxx @@ -40,9 +40,9 @@ struct SotAction_Impl SotExchangeActionFlags nFlags; // Action Id sal_uInt8 nContextCheckId; // additional check of content in clipboard - SAL_CONSTEXPR SotAction_Impl(SotClipboardFormatId _nFormatId, sal_uInt16 _nAction, SotExchangeActionFlags _nFlags, sal_uInt8 _nContextCheckId) + constexpr SotAction_Impl(SotClipboardFormatId _nFormatId, sal_uInt16 _nAction, SotExchangeActionFlags _nFlags, sal_uInt8 _nContextCheckId) : nFormatId(_nFormatId), nAction(_nAction), nFlags(_nFlags), nContextCheckId(_nContextCheckId) {} - SAL_CONSTEXPR SotAction_Impl(SotClipboardFormatId _nFormatId, sal_uInt16 _nAction) + constexpr SotAction_Impl(SotClipboardFormatId _nFormatId, sal_uInt16 _nAction) : nFormatId(_nFormatId), nAction(_nAction), nFlags(SotExchangeActionFlags::NONE), nContextCheckId(0) {} }; |