diff options
Diffstat (limited to 'basic')
-rw-r--r-- | basic/inc/basic/basmgr.hxx | 1 | ||||
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/basic/inc/basic/basmgr.hxx b/basic/inc/basic/basmgr.hxx index 8dc90817c936..fec6bb89f201 100644 --- a/basic/inc/basic/basmgr.hxx +++ b/basic/inc/basic/basmgr.hxx @@ -164,7 +164,6 @@ protected: sal_Bool ImplEncryptStream( SvStream& rStream ) const; BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const; void CheckModules( StarBASIC* pBasic, sal_Bool bReference ) const; - void SetFlagToAllLibs( short nFlag, sal_Bool bSet ) const; BasicManager(); // This is used only to customize the paths for 'Save as'. ~BasicManager(); diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index c077246d6fb0..54c0a87101b4 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1841,24 +1841,6 @@ sal_Bool BasicManager::IsBasicModified() const return sal_False; } -void BasicManager::SetFlagToAllLibs( short nFlag, sal_Bool bSet ) const -{ - sal_uInt16 nLibs = GetLibCount(); - for ( sal_uInt16 nL = 0; nL < nLibs; nL++ ) - { - BasicLibInfo* pInfo = pLibs->GetObject( nL ); - DBG_ASSERT( pInfo, "Info?!" ); - StarBASIC* pLib = pInfo->GetLib(); - if ( pLib ) - { - if ( bSet ) - pLib->SetFlag( nFlag ); - else - pLib->ResetFlag( nFlag ); - } - } -} - sal_Bool BasicManager::HasErrors() { DBG_CHKTHIS( BasicManager, 0 ); |