diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-19 12:36:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-19 13:03:01 +0100 |
commit | 4950c579d125ed7aa5eecccabe900ce79cd667d1 (patch) | |
tree | 8177754ee732e880a79fa960139b0cc89de6cd93 /basic | |
parent | 433016e68fd98583ece002ec41009da42454072e (diff) |
callcatcher: update unusedcode
Change-Id: I4b2a7ea03aafbfbf1fece1533da801a4326d80f9
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/basmgr/basmgr.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 070ece1b4ede..a01d2e09f3d6 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1350,24 +1350,6 @@ bool BasicManager::HasLib( const OUString& rName ) const return false; } -bool BasicManager::SetLibName( sal_uInt16 nLib, const OUString& rName ) -{ - DBG_ASSERT( nLib < mpImpl->aLibs.size(), "Lib?!" ); - if ( nLib < mpImpl->aLibs.size() ) - { - BasicLibInfo& rLibInfo = mpImpl->aLibs[nLib]; - rLibInfo.SetLibName( rName ); - if ( rLibInfo.GetLib().Is() ) - { - StarBASICRef xStdLib = rLibInfo.GetLib(); - xStdLib->SetName( rName ); - xStdLib->SetModified( true ); - } - return true; - } - return false; -} - OUString BasicManager::GetLibName( sal_uInt16 nLib ) { DBG_ASSERT( nLib < mpImpl->aLibs.size(), "Lib?!" ); |