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 /unotools/source/misc/componentresmodule.cxx | |
parent | 291dcae246de9e32d9ca5926be463ad910c5bd1e (diff) |
Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
Diffstat (limited to 'unotools/source/misc/componentresmodule.cxx')
-rw-r--r-- | unotools/source/misc/componentresmodule.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/unotools/source/misc/componentresmodule.cxx b/unotools/source/misc/componentresmodule.cxx index 0d19d1061ae4..933567b67be8 100644 --- a/unotools/source/misc/componentresmodule.cxx +++ b/unotools/source/misc/componentresmodule.cxx @@ -38,13 +38,13 @@ namespace utl class OComponentResModuleImpl { private: - ResMgr* m_pRessources; + ResMgr* m_pResources; bool m_bInitialized; ::rtl::OString m_sResFilePrefix; public: OComponentResModuleImpl( const ::rtl::OString& _rResFilePrefix ) - :m_pRessources( NULL ) + :m_pResources( NULL ) ,m_bInitialized( false ) ,m_sResFilePrefix( _rResFilePrefix ) { @@ -72,27 +72,27 @@ namespace utl //-------------------------------------------------------------------- void OComponentResModuleImpl::freeResManager() { - delete m_pRessources, m_pRessources = NULL; + delete m_pResources, m_pResources = NULL; m_bInitialized = false; } //-------------------------------------------------------------------- ResMgr* OComponentResModuleImpl::getResManager() { - if ( !m_pRessources && !m_bInitialized ) + if ( !m_pResources && !m_bInitialized ) { // create a manager with a fixed prefix rtl::OString aMgrName = m_sResFilePrefix; - m_pRessources = ResMgr::CreateResMgr( aMgrName.getStr() ); - OSL_ENSURE( m_pRessources, + m_pResources = ResMgr::CreateResMgr( aMgrName.getStr() ); + OSL_ENSURE( m_pResources, rtl::OStringBuffer( "OModuleImpl::getResManager: could not create the resource manager (file name: " ) .append(aMgrName) .append(")!").getStr() ); m_bInitialized = sal_True; } - return m_pRessources; + return m_pResources; } //==================================================================== |