diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-05-19 16:38:56 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-05-19 22:31:20 +0200 |
commit | 8231d7957ae04599d7c87bba117f9a53452fcf0f (patch) | |
tree | a3615d2919be780383956a8d210bc6e1ab2d8cb6 /include | |
parent | ad5a41da383f34dc4894a21c8468cc3a8519d9b1 (diff) |
Simplify SmElementsControl
Change-Id: Idcb075a474b440447b8566cc92a8f65bbc77127c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134643
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/resmgr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/resmgr.hxx b/include/unotools/resmgr.hxx index 80e3a23eb57d..142ec2de5b1f 100644 --- a/include/unotools/resmgr.hxx +++ b/include/unotools/resmgr.hxx @@ -33,9 +33,9 @@ struct UNOTOOLS_DLLPUBLIC TranslateId const char* mpContext; const char* mpId; - inline TranslateId() + inline constexpr TranslateId() : mpContext(nullptr), mpId(nullptr) {} - inline TranslateId(const char* pContext, const char* pId) + inline constexpr TranslateId(const char* pContext, const char* pId) : mpContext(pContext), mpId(pId) {} inline operator bool() const { return mpId != nullptr; } |