From c16a4380fe6bdf6782ef706f4f92d904e0413820 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Fri, 17 Mar 2017 16:09:35 +0100 Subject: remove EE_RESSTR preprocessor abuse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I83b35c4e2d4275ac76a36bec03807be69a605c58 Reviewed-on: https://gerrit.libreoffice.org/35370 Tested-by: Jenkins Reviewed-by: Björn Michaelsen --- include/editeng/eerdll.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/editeng/eerdll.hxx b/include/editeng/eerdll.hxx index add71ce5adac..05ad3d64dce7 100644 --- a/include/editeng/eerdll.hxx +++ b/include/editeng/eerdll.hxx @@ -20,20 +20,22 @@ #ifndef INCLUDED_EDITENG_EERDLL_HXX #define INCLUDED_EDITENG_EERDLL_HXX +#include +#include +#include + class GlobalEditData; namespace editeng { class SharedVclResources; } -#include -#include -#include - class EDITENG_DLLPUBLIC EditResId: public ResId { public: EditResId( sal_uInt16 nId ); + static OUString GetString(sal_uInt16 nId) + { return EditResId(nId).toString(); } }; class EditDLL @@ -51,8 +53,6 @@ public: static EditDLL& Get(); }; -#define EE_RESSTR(x) EditResId(x).toString() - #endif // INCLUDED_EDITENG_EERDLL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit