summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/editeng/eerdll.hxx12
1 files changed, 6 insertions, 6 deletions
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 <tools/resid.hxx>
+#include <editeng/editengdllapi.h>
+#include <memory>
+
class GlobalEditData;
namespace editeng
{
class SharedVclResources;
}
-#include <tools/resid.hxx>
-#include <editeng/editengdllapi.h>
-#include <memory>
-
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: */