diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-08-28 13:52:19 +0900 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-08-28 19:53:36 +0000 |
commit | 9e2f8b9ec2d7418145cf514431e248e55e732cdb (patch) | |
tree | 00113bc1923e98f5e217a069f358481786e1dd15 /basic | |
parent | hopefully a working version for databar ext guid creation (diff) | |
download | core-9e2f8b9ec2d7418145cf514431e248e55e732cdb.tar.gz core-9e2f8b9ec2d7418145cf514431e248e55e732cdb.zip |
Fix typo ImpLoadLibary
Change-Id: I773678437aae6577f22078e97bcac1377c4307d8
Reviewed-on: https://gerrit.libreoffice.org/495
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/basic/basmgr.hxx | 4 | ||||
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/basic/inc/basic/basmgr.hxx b/basic/inc/basic/basmgr.hxx index f8c4b40e8858..a52771e29fde 100644 --- a/basic/inc/basic/basmgr.hxx +++ b/basic/inc/basic/basmgr.hxx @@ -131,8 +131,8 @@ private: BASIC_DLLPRIVATE void Init(); protected: - sal_Bool ImpLoadLibary( BasicLibInfo* pLibInfo ) const; - sal_Bool ImpLoadLibary( BasicLibInfo* pLibInfo, SotStorage* pCurStorage, sal_Bool bInfosOnly = sal_False ); + sal_Bool ImpLoadLibrary( BasicLibInfo* pLibInfo ) const; + sal_Bool ImpLoadLibrary( BasicLibInfo* pLibInfo, SotStorage* pCurStorage, sal_Bool bInfosOnly = sal_False ); void ImpCreateStdLib( StarBASIC* pParentFromStdLib ); void ImpMgrNotLoaded( const String& rStorageName ); BasicLibInfo* CreateLibInfo(); diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 733e4693356c..62fde97846af 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -749,7 +749,7 @@ void BasicManager::SetLibraryContainerInfo( const LibraryContainerInfo& rInfo ) StarBASIC* pLib = pBasLibInfo->GetLib(); if( !pLib ) { - sal_Bool bLoaded = ImpLoadLibary( pBasLibInfo, NULL, sal_False ); + sal_Bool bLoaded = ImpLoadLibrary( pBasLibInfo, NULL, sal_False ); if( bLoaded ) pLib = pBasLibInfo->GetLib(); } @@ -900,7 +900,7 @@ void BasicManager::LoadBasicManager( SotStorage& rStorage, const String& rBaseUR if ( bLoadLibs && pInfo->DoLoad() && ( ( !pInfo->IsExtern() ) || ( pInfo->IsReference() ) ) ) { - ImpLoadLibary( pInfo, &rStorage ); + ImpLoadLibrary( pInfo, &rStorage ); } } @@ -1044,7 +1044,7 @@ BasicLibInfo* BasicManager::CreateLibInfo() return pInf; } -sal_Bool BasicManager::ImpLoadLibary( BasicLibInfo* pLibInfo, SotStorage* pCurStorage, sal_Bool bInfosOnly ) +sal_Bool BasicManager::ImpLoadLibrary( BasicLibInfo* pLibInfo, SotStorage* pCurStorage, sal_Bool bInfosOnly ) { DBG_CHKTHIS( BasicManager, 0 ); @@ -1235,14 +1235,14 @@ StarBASIC* BasicManager::AddLib( SotStorage& rStorage, const String& rLibName, s aNewLibName += '_'; BasicLibInfo* pLibInfo = CreateLibInfo(); - // Use original name otherwise ImpLoadLibary failes... + // Use original name otherwise ImpLoadLibrary failes... pLibInfo->SetLibName( rLibName ); // but doesn't work this way if name exists twice sal_uInt16 nLibId = (sal_uInt16) pLibs->GetPos( pLibInfo ); // Set StorageName before load because it is compared with pCurStorage pLibInfo->SetStorageName( aStorageName ); - sal_Bool bLoaded = ImpLoadLibary( pLibInfo, &rStorage ); + sal_Bool bLoaded = ImpLoadLibrary( pLibInfo, &rStorage ); if ( bLoaded ) { @@ -1480,7 +1480,7 @@ sal_Bool BasicManager::LoadLib( sal_uInt16 nLib ) } else { - bDone = ImpLoadLibary( pLibInfo, NULL, sal_False ); + bDone = ImpLoadLibrary( pLibInfo, NULL, sal_False ); StarBASIC* pLib = GetLib( nLib ); if ( pLib ) { |