sfx2/source/doc/zoomitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 37481972038dddffcfda9cb5b86d75cac85a3b27 Author: Simon Chenery <simon_chen...@yahoo.com> AuthorDate: Sun Feb 9 18:29:33 2025 +0100 Commit: Hossein <hoss...@libreoffice.org> CommitDate: Wed Feb 12 14:59:56 2025 +0100 tdf#145614 Convert #define ZOOM_PARAMS to constexpr Change-Id: I17bf502166cc8de3372676711119b360326cc40d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181319 Tested-by: Jenkins Reviewed-by: Hossein <hoss...@libreoffice.org> diff --git a/sfx2/source/doc/zoomitem.cxx b/sfx2/source/doc/zoomitem.cxx index 049cfa39f951..0ed8215c33ae 100644 --- a/sfx2/source/doc/zoomitem.cxx +++ b/sfx2/source/doc/zoomitem.cxx @@ -32,7 +32,7 @@ SfxPoolItem* SvxZoomItem::CreateDefault() { return new SvxZoomItem; } constexpr OUString ZOOM_PARAM_VALUE = u"Value"_ustr; constexpr OUString ZOOM_PARAM_VALUESET = u"ValueSet"_ustr; constexpr OUString ZOOM_PARAM_TYPE = u"Type"_ustr; -#define ZOOM_PARAMS 3 +constexpr auto ZOOM_PARAMS = 3; SvxZoomItem::SvxZoomItem