Kaydet (Commit) fea9b3a9 authored tarafından Noel Power's avatar Noel Power

finally remove no long needed BasicTestBase

Change-Id: Ic1522b0c3a292af061f5777e06e796dd82884fbf
üst 20f12a1d
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment