summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/appl/fileobj.cxx2
-rw-r--r--sw/source/ui/dialog/swdlgfact.hxx5
-rw-r--r--sw/source/ui/dialog/swuiexp.cxx1
-rw-r--r--sw/source/ui/inc/dialmgr.hxx10
4 files changed, 2 insertions, 16 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index 9111c353627e..d9190d6162bc 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -445,7 +445,7 @@ void SvFileObject::Edit( Window* pParent, sfx2::SvBaseLink* pLink, const Link& r
{
nType = FILETYPE_GRF; // If not set already
- SvxOpenGraphicDialog aDlg(SfxResId(RID_SVXSTR_EDITGRFLINK));
+ SvxOpenGraphicDialog aDlg(SfxResId(RID_SVXSTR_EDITGRFLINK).toString());
aDlg.EnableLink(sal_False);
aDlg.SetPath( sFile, sal_True );
aDlg.SetCurrentFilter( sTmpFilter );
diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx
index 23384128592e..75100f14be1f 100644
--- a/sw/source/ui/dialog/swdlgfact.hxx
+++ b/sw/source/ui/dialog/swdlgfact.hxx
@@ -588,11 +588,6 @@ public:
};
-struct SwDialogsResMgr
-{
- static ResMgr* GetResMgr();
-};
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/dialog/swuiexp.cxx b/sw/source/ui/dialog/swuiexp.cxx
index 2115ad9690a9..051d1bfc87e8 100644
--- a/sw/source/ui/dialog/swuiexp.cxx
+++ b/sw/source/ui/dialog/swuiexp.cxx
@@ -31,6 +31,7 @@
#endif
#include "swdlgfact.hxx"
+#include "dialmgr.hxx"
namespace swui
{
diff --git a/sw/source/ui/inc/dialmgr.hxx b/sw/source/ui/inc/dialmgr.hxx
index f4533a51ddc6..562b1da70d7d 100644
--- a/sw/source/ui/inc/dialmgr.hxx
+++ b/sw/source/ui/inc/dialmgr.hxx
@@ -28,23 +28,13 @@
#ifndef _SW_DIALMGR_HXX
#define _SW_DIALMGR_HXX
-// include ---------------------------------------------------------------
-
#include <tools/resid.hxx>
-// forward ---------------------------------------------------------------
-
-class ResMgr;
-
struct SwDialogsResMgr
{
static ResMgr* GetResMgr();
};
-#define SWDIALOG_MGR() SwDialogsResMgr::GetResMgr()
-#define SW_RES(i) ResId(i,SWDIALOG_MGR())
-#define SW_RESSTR(i) ResId::toString(SW_RES(i))
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */