summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-21 21:24:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-22 09:39:17 +0100
commit53f4837b92560d75eb6e629bebaf4e523ee40162 (patch)
tree44210662a3f7f4180b2cd8d0ad178293ed681a09 /basic
parent8df44286192df6cabd84a370a785ea67f3c0b806 (diff)
callcatcher: various methods
Diffstat (limited to 'basic')
-rw-r--r--basic/inc/basic/basmgr.hxx4
-rw-r--r--basic/source/basmgr/basmgr.cxx34
2 files changed, 1 insertions, 37 deletions
diff --git a/basic/inc/basic/basmgr.hxx b/basic/inc/basic/basmgr.hxx
index 415bf7af4116..2d238d10e243 100644
--- a/basic/inc/basic/basmgr.hxx
+++ b/basic/inc/basic/basmgr.hxx
@@ -164,8 +164,7 @@ protected:
sal_Bool ImplEncryptStream( SvStream& rStream ) const;
BasicLibInfo* FindLibInfo( StarBASIC* pBasic ) const;
void CheckModules( StarBASIC* pBasic, sal_Bool bReference ) const;
- BasicManager(); // This is used only to customize the paths for 'Save as'.
- ~BasicManager();
+ ~BasicManager();
public:
TYPEINFO();
@@ -214,7 +213,6 @@ public:
sal_Bool IsBasicModified() const;
sal_Bool HasErrors();
- void ClearErrors();
BasicError* GetFirstError();
BasicError* GetNextError();
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index 14626f6c7e2a..c3187f58f4fa 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -541,8 +541,6 @@ public:
String aBasicLibPath; // TODO: Should be member of manager, but currently not incompatible
BasicLibInfo* GetObject( size_t i );
BasicLibInfo* First();
- BasicLibInfo* Last();
- BasicLibInfo* Prev();
BasicLibInfo* Next();
size_t GetPos( BasicLibInfo* LibInfo );
size_t Count() const { return aList.size(); };
@@ -575,24 +573,6 @@ BasicLibInfo* BasicLibs::First()
return aList[ CurrentLib ];
}
-BasicLibInfo* BasicLibs::Last()
-{
- if ( aList.empty() )
- return NULL;
- CurrentLib = aList.size() - 1;
- return aList[ CurrentLib ];
-}
-
-BasicLibInfo* BasicLibs::Prev()
-{
- if ( aList.empty()
- || CurrentLib == 0
- )
- return NULL;
- --CurrentLib;
- return aList[ CurrentLib ];
-}
-
BasicLibInfo* BasicLibs::Next()
{
if ( aList.empty()
@@ -914,14 +894,6 @@ BasicManager::BasicManager( StarBASIC* pSLib, String* pLibPath, sal_Bool bDocMgr
bBasMgrModified = sal_False;
}
-BasicManager::BasicManager()
-{
- DBG_CTOR( BasicManager, 0 );
- // This ctor may only be used to adapt relative paths for 'Save As'.
- // There is no AppBasic so libs must not be loaded...
- Init();
-}
-
void BasicManager::ImpMgrNotLoaded( const String& rStorageName )
{
// pErrInf is only destroyed if the error os processed by an
@@ -1745,12 +1717,6 @@ sal_Bool BasicManager::HasErrors()
return pErrorMgr->HasErrors();
}
-void BasicManager::ClearErrors()
-{
- DBG_CHKTHIS( BasicManager, 0 );
- pErrorMgr->Reset();
-}
-
BasicError* BasicManager::GetFirstError()
{
DBG_CHKTHIS( BasicManager, 0 );