diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-30 11:20:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-30 11:22:09 +0100 |
commit | f9ee230ba92309c11d1bf7a5c14d3502e86a77d2 (patch) | |
tree | 5e677c102405c44721b5fb10a37eb4e3c792c76d /sw | |
parent | 8a0685d49f679d6f98de2f357f1ec74590573852 (diff) |
duplicate SwDialogsResMgr definition and unused macros
Change-Id: Ib7188a98230345557187b00826f33a2ad39a4f83
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dialog/swdlgfact.hxx | 5 | ||||
-rw-r--r-- | sw/source/ui/dialog/swuiexp.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/inc/dialmgr.hxx | 10 |
3 files changed, 1 insertions, 15 deletions
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: */ |