summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-28 17:52:20 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-29 11:08:44 +0200
commitdb10877d894d2d5bba95ea1871a12c8c633b31d3 (patch)
treeef6260919b30e594dca5513a99995da92968d310 /basic
parentad8b40c6701367c2367bbd0ef97c4780182d808b (diff)
callcatcher: remove unused methods
Diffstat (limited to 'basic')
-rw-r--r--basic/inc/basic/basmgr.hxx1
-rw-r--r--basic/source/basmgr/basmgr.cxx18
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 );