From 889de665ec9d2ac25a9dccd4830cb97ed0c7c56e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 30 Jul 2012 08:41:34 +0200 Subject: Typo ressource -> resource Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831 --- dbaccess/source/core/inc/core_resource.hxx | 4 ++-- dbaccess/source/ui/inc/GeneralUndo.hxx | 2 +- dbaccess/source/ui/inc/moduledbu.hxx | 4 ++-- dbaccess/source/ui/misc/moduledbu.cxx | 16 ++++++++-------- 4 files changed, 13 insertions(+), 13 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/inc/core_resource.hxx b/dbaccess/source/core/inc/core_resource.hxx index af6b5378c372..727d131cd000 100644 --- a/dbaccess/source/core/inc/core_resource.hxx +++ b/dbaccess/source/core/inc/core_resource.hxx @@ -36,7 +36,7 @@ namespace dbaccess //================================================================== //= ResourceManager - //= handling ressources within the DBA-Core library + //= handling resources within the DBA-Core library //================================================================== class ResourceManager { @@ -101,7 +101,7 @@ namespace dbaccess //========================================================================= //= 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/dbaccess/source/ui/inc/GeneralUndo.hxx b/dbaccess/source/ui/inc/GeneralUndo.hxx index 3f7cc84aedcc..7bb0c2942300 100644 --- a/dbaccess/source/ui/inc/GeneralUndo.hxx +++ b/dbaccess/source/ui/inc/GeneralUndo.hxx @@ -25,7 +25,7 @@ namespace dbaui { // ================================================================================================ - // SbaCommentUndoAction - Undo-Basisklasse fuer Aktionen, deren GetComment einen aus einer Sba-Ressource + // SbaCommentUndoAction - Undo-Basisklasse fuer Aktionen, deren GetComment einen aus einer Sba-Resource // geladenen String liefert class OCommentUndoAction : public SfxUndoAction diff --git a/dbaccess/source/ui/inc/moduledbu.hxx b/dbaccess/source/ui/inc/moduledbu.hxx index 84a2997d4527..3d34259e964a 100644 --- a/dbaccess/source/ui/inc/moduledbu.hxx +++ b/dbaccess/source/ui/inc/moduledbu.hxx @@ -67,7 +67,7 @@ private: //========================================================================= //= 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 { @@ -79,7 +79,7 @@ public: //========================================================================= //= 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/dbaccess/source/ui/misc/moduledbu.cxx b/dbaccess/source/ui/misc/moduledbu.cxx index 6702d3ba858e..b18e7c09519d 100644 --- a/dbaccess/source/ui/misc/moduledbu.cxx +++ b/dbaccess/source/ui/misc/moduledbu.cxx @@ -40,21 +40,21 @@ namespace dbaui */ 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(OModuleImpl) //------------------------------------------------------------------------- OModuleImpl::OModuleImpl() - :m_pRessources(NULL) + :m_pResources(NULL) { DBG_CTOR(OModuleImpl,NULL); @@ -63,8 +63,8 @@ OModuleImpl::OModuleImpl() //------------------------------------------------------------------------- OModuleImpl::~OModuleImpl() { - if (m_pRessources) - delete m_pRessources; + if (m_pResources) + delete m_pResources; DBG_DTOR(OModuleImpl,NULL); } @@ -74,12 +74,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(rtl::OString("dbu").getStr()); + m_pResources = ResMgr::CreateResMgr(rtl::OString("dbu").getStr()); } - return m_pRessources; + return m_pResources; } //========================================================================= -- cgit