From 01b3187e0713243c8f71d58197da17ee87c4dbb5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 10 Feb 2022 16:19:46 +0200 Subject: svx::PropertyChangeNotifier improvements (*) rename the enum to make it's purpose more obvious (*) remove the enum header - it belongs to this class, no need to have it somewhere else (*) return property name by const&, no need to copy here (*) use a o3tl::enumarray instead of a std::unordered_map - there are only 3 entries here, and two of them are ALWAYS used, so just flatten the data structure. Change-Id: Ic496bd5220d55be1209a3243c095d461df0a02ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129788 Tested-by: Jenkins Reviewed-by: Noel Grandin --- reportdesign/inc/pch/precompiled_rpt.hxx | 1 - reportdesign/inc/pch/precompiled_rptui.hxx | 1 - 2 files changed, 2 deletions(-) (limited to 'reportdesign/inc/pch') diff --git a/reportdesign/inc/pch/precompiled_rpt.hxx b/reportdesign/inc/pch/precompiled_rpt.hxx index 57b8af3d1663..6f744ed1e3e4 100644 --- a/reportdesign/inc/pch/precompiled_rpt.hxx +++ b/reportdesign/inc/pch/precompiled_rpt.hxx @@ -252,7 +252,6 @@ #include #include #include -#include #include #include #include diff --git a/reportdesign/inc/pch/precompiled_rptui.hxx b/reportdesign/inc/pch/precompiled_rptui.hxx index e3bf1419e116..4fef73243d89 100644 --- a/reportdesign/inc/pch/precompiled_rptui.hxx +++ b/reportdesign/inc/pch/precompiled_rptui.hxx @@ -379,7 +379,6 @@ #include #include #include -#include #include #include #include -- cgit