summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-03-07 10:53:42 +0000
committerNoel Power <noel.power@suse.com>2013-03-07 10:56:46 +0000
commitfea9b3a99a24366b4dea22ed1b79f34046f7f521 (patch)
tree923cce5012883bc2bb73954af150102168c5fedc /basic
parent20f12a1d7ad5f9694f901a85e1fa22f46c3953a2 (diff)
finally remove no long needed BasicTestBase
Change-Id: Ic1522b0c3a292af061f5777e06e796dd82884fbf
Diffstat (limited to 'basic')
-rw-r--r--basic/qa/cppunit/basictest.hxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/basic/qa/cppunit/basictest.hxx b/basic/qa/cppunit/basictest.hxx
index 7e74a2aa7117..c828f25fb42b 100644
--- a/basic/qa/cppunit/basictest.hxx
+++ b/basic/qa/cppunit/basictest.hxx
@@ -22,35 +22,6 @@
#include "basic/sbuno.hxx"
#include <osl/file.hxx>
-class BasicTestBase : public test::BootstrapFixture
-{
- private:
- bool mbError;
- public:
- BasicTestBase() : BootstrapFixture(true, false), mbError(false) {};
-
-
- DECL_LINK( BasicErrorHdl, StarBASIC * );
- bool HasError() { return mbError; }
- void ResetError()
- {
- StarBASIC::SetGlobalErrorHdl( Link() );
- mbError = false;
- }
- BasicDLL& basicDLL()
- {
- static BasicDLL maDll; // we need a dll instance for resouce manager etc.
- return maDll;
- }
-};
-
-IMPL_LINK( BasicTestBase, BasicErrorHdl, StarBASIC *, /*pBasic*/)
-{
- fprintf(stderr,"Got error: \n\t%s!!!\n", rtl::OUStringToOString( StarBASIC::GetErrorText(), RTL_TEXTENCODING_UTF8 ).getStr() );
- mbError = true;
- return 0;
-}
-
class MacroSnippet
{
private: