diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-30 08:41:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-30 09:26:00 +0200 |
commit | 889de665ec9d2ac25a9dccd4830cb97ed0c7c56e (patch) | |
tree | f98ed6e8215a39287248189841411e0edb0439c3 /formula/source | |
parent | 291dcae246de9e32d9ca5926be463ad910c5bd1e (diff) |
Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/core/inc/core_resource.hxx | 4 | ||||
-rw-r--r-- | formula/source/ui/inc/ModuleHelper.hxx | 2 | ||||
-rw-r--r-- | formula/source/ui/resource/ModuleHelper.cxx | 16 |
3 files changed, 11 insertions, 11 deletions
diff --git a/formula/source/core/inc/core_resource.hxx b/formula/source/core/inc/core_resource.hxx index fc8f7be80994..a16749b777aa 100644 --- a/formula/source/core/inc/core_resource.hxx +++ b/formula/source/core/inc/core_resource.hxx @@ -29,7 +29,7 @@ namespace formula { //================================================================== //= ResourceManager - //= handling ressources within the FORMULA-Core library + //= handling resources within the FORMULA-Core library //================================================================== class ResourceManager { @@ -57,7 +57,7 @@ namespace formula //========================================================================= //= OModuleClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class OModuleClient { diff --git a/formula/source/ui/inc/ModuleHelper.hxx b/formula/source/ui/inc/ModuleHelper.hxx index 2e830533f0a0..fb89aaec4828 100644 --- a/formula/source/ui/inc/ModuleHelper.hxx +++ b/formula/source/ui/inc/ModuleHelper.hxx @@ -62,7 +62,7 @@ namespace formula //========================================================================= //= ModuleRes //========================================================================= - /** specialized ResId, using the ressource manager provided by the global module + /** specialized ResId, using the resource manager provided by the global module */ class ModuleRes : public ::ResId { diff --git a/formula/source/ui/resource/ModuleHelper.cxx b/formula/source/ui/resource/ModuleHelper.cxx index 6215f00dab03..485e814bfb29 100644 --- a/formula/source/ui/resource/ModuleHelper.cxx +++ b/formula/source/ui/resource/ModuleHelper.cxx @@ -45,21 +45,21 @@ namespace formula */ class OModuleImpl { - ResMgr* m_pRessources; + ResMgr* m_pResources; public: /// ctor OModuleImpl(); ~OModuleImpl(); - /// get the manager for the ressources of the module + /// get the manager for the resources of the module ResMgr* getResManager(); }; DBG_NAME( rpt_OModuleImpl ) //------------------------------------------------------------------------- OModuleImpl::OModuleImpl() - :m_pRessources(NULL) + :m_pResources(NULL) { DBG_CTOR( rpt_OModuleImpl,NULL); @@ -68,8 +68,8 @@ OModuleImpl::OModuleImpl() //------------------------------------------------------------------------- OModuleImpl::~OModuleImpl() { - if (m_pRessources) - delete m_pRessources; + if (m_pResources) + delete m_pResources; DBG_DTOR( rpt_OModuleImpl,NULL); } @@ -79,12 +79,12 @@ ResMgr* OModuleImpl::getResManager() { // note that this method is not threadsafe, which counts for the whole class ! - if (!m_pRessources) + if (!m_pResources) { // create a manager with a fixed prefix - m_pRessources = ResMgr::CreateResMgr("forui"); + m_pResources = ResMgr::CreateResMgr("forui"); } - return m_pRessources; + return m_pResources; } //========================================================================= |