dbaccess/source/ui/browser/genericcontroller.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 03dced9d7ddb084649e72b88ed8f41d13b8e4469 Author: Simon Chenery <simon_chen...@yahoo.com> AuthorDate: Thu Mar 27 20:15:25 2025 +0100 Commit: Hossein <hoss...@libreoffice.org> CommitDate: Mon Mar 31 10:50:23 2025 +0200 tdf#145614 Convert #define to constexpr Change-Id: I7823970bb3b222fcc2dbac9f4cbee4e3fc3f3813 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183416 Tested-by: Jenkins Reviewed-by: Hossein <hoss...@libreoffice.org> diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx index 8105181d4eb8..77aaafdbadfb 100644 --- a/dbaccess/source/ui/browser/genericcontroller.cxx +++ b/dbaccess/source/ui/browser/genericcontroller.cxx @@ -64,7 +64,7 @@ using namespace ::com::sun::star::ui; using namespace ::dbtools; using namespace ::comphelper; -#define ALL_FEATURES -1 +constexpr auto ALL_FEATURES = -1; typedef std::unordered_map< sal_Int16, sal_Int16 > CommandHashMap;