summaryrefslogtreecommitdiff
path: root/include/svx/dialmgr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/dialmgr.hxx')
-rw-r--r--include/svx/dialmgr.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/svx/dialmgr.hxx b/include/svx/dialmgr.hxx
index 0aadfbdc6d60..54951aaee993 100644
--- a/include/svx/dialmgr.hxx
+++ b/include/svx/dialmgr.hxx
@@ -24,15 +24,17 @@
// forward ---------------------------------------------------------------
-class ResMgr;
struct SVX_DLLPUBLIC DialogsResMgr
{
static ResMgr* GetResMgr();
};
#define DIALOG_MGR() (*DialogsResMgr::GetResMgr())
-#define SVX_RES(i) ResId(i,DIALOG_MGR())
-#define SVX_RESSTR(i) SVX_RES(i).toString()
+
+inline OUString SvxResId(sal_uInt16 nId)
+{
+ return ResId(nId, DIALOG_MGR());
+}
#endif