diff options
Diffstat (limited to 'formula/source/ui/inc/ModuleHelper.hxx')
-rw-r--r-- | formula/source/ui/inc/ModuleHelper.hxx | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/formula/source/ui/inc/ModuleHelper.hxx b/formula/source/ui/inc/ModuleHelper.hxx index 00dca8171167..c5e92847b701 100644 --- a/formula/source/ui/inc/ModuleHelper.hxx +++ b/formula/source/ui/inc/ModuleHelper.hxx @@ -25,8 +25,6 @@ namespace formula { - - //= OModule class OModuleClient; @@ -44,7 +42,7 @@ namespace formula public: /// get the vcl res manager of the module - static ResMgr* getResManager(); + static const std::locale& getResLocale(); protected: /// register a client for the module static void registerClient(); @@ -58,20 +56,10 @@ namespace formula static void ensureImpl(); }; - //= ModuleRes - - /** specialized ResId, using the resource manager provided by the global module - */ - class ModuleRes : public ::ResId - { - public: - ModuleRes(sal_uInt16 _nId) : ResId(_nId, *OModule::getResManager()) { } - }; - + OUString ModuleRes(const char *pId); } // namespace formula - #endif // INCLUDED_FORMULA_SOURCE_UI_INC_MODULEHELPER_HXX |