summaryrefslogtreecommitdiff
path: root/basic/inc/basic/testtool.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/inc/basic/testtool.hxx')
-rw-r--r--basic/inc/basic/testtool.hxx76
1 files changed, 38 insertions, 38 deletions
diff --git a/basic/inc/basic/testtool.hxx b/basic/inc/basic/testtool.hxx
index 81570d3f60c8..80a8dc4b9087 100644
--- a/basic/inc/basic/testtool.hxx
+++ b/basic/inc/basic/testtool.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,29 +43,29 @@
// this routine became necessary
BOOL IsTTSignatureForUnicodeTextfile( String aLine );
-#define ADD_ERROR_QUIET(nNr, aStr) \
-{ \
- ErrorEntry *pErr; \
- if ( BasicRuntimeAccess::HasRuntime() ) \
- { \
- BasicRuntime aRun = BasicRuntimeAccess::GetRuntime(); \
- xub_StrLen aErrLn = StarBASIC::GetErl(); \
- if ( 0 == aErrLn ) \
- aErrLn = aRun.GetLine(); \
- pErr = new ErrorEntry(nNr, aStr, \
- aErrLn, aRun.GetCol1(), aRun.GetCol2()); \
- } \
- else \
- { \
- pErr = new ErrorEntry(nNr, aStr); \
- } \
+#define ADD_ERROR_QUIET(nNr, aStr) \
+{ \
+ ErrorEntry *pErr; \
+ if ( BasicRuntimeAccess::HasRuntime() ) \
+ { \
+ BasicRuntime aRun = BasicRuntimeAccess::GetRuntime(); \
+ xub_StrLen aErrLn = StarBASIC::GetErl(); \
+ if ( 0 == aErrLn ) \
+ aErrLn = aRun.GetLine(); \
+ pErr = new ErrorEntry(nNr, aStr, \
+ aErrLn, aRun.GetCol1(), aRun.GetCol2()); \
+ } \
+ else \
+ { \
+ pErr = new ErrorEntry(nNr, aStr); \
+ } \
P_FEHLERLISTE->C40_INSERT(ErrorEntry, pErr, P_FEHLERLISTE->Count());\
}
// ??? Irgendwann noch was mit der UID anfangen !!
#define ADD_ERROR(nNr, aStr) { \
- if ( !SbxBase::IsError() ) \
- SbxBase::SetError( nNr ); \
- ADD_ERROR_QUIET(nNr, aStr); \
+ if ( !SbxBase::IsError() ) \
+ SbxBase::SetError( nNr ); \
+ ADD_ERROR_QUIET(nNr, aStr); \
}
#define POP_ERROR() P_FEHLERLISTE->DeleteAndDestroy(0)
@@ -107,27 +107,27 @@ public:
};
// Defines for syntax Highlighting
-#define TT_KEYWORD ((SbTextType)100) // Including locally executed commands like 'use' ...
-#define TT_REMOTECMD ((SbTextType)101) // Remotely executed commands like 'nodebug'
-#define TT_LOCALCMD ((SbTextType)102) // Locally executed commands like 'use'
-#define TT_CONTROL ((SbTextType)103) // Possibly available control loaded by 'use'
-#define TT_SLOT ((SbTextType)104) // Available Slots loaded by 'use'
-#define TT_METHOD ((SbTextType)105) // Possibly allowed Method for controls
-#define TT_NOMETHOD ((SbTextType)106) // No Possibly allowed Method for controls
-
-#define FILELIST1 ((SbTextType)111) // Symbols in file 1
-#define FILELIST2 ((SbTextType)112) // Symbols in file 2
-#define FILELIST3 ((SbTextType)113) // Symbols in file 3
-#define FILELIST4 ((SbTextType)114) // Symbols in file 4
+#define TT_KEYWORD ((SbTextType)100) // Including locally executed commands like 'use' ...
+#define TT_REMOTECMD ((SbTextType)101) // Remotely executed commands like 'nodebug'
+#define TT_LOCALCMD ((SbTextType)102) // Locally executed commands like 'use'
+#define TT_CONTROL ((SbTextType)103) // Possibly available control loaded by 'use'
+#define TT_SLOT ((SbTextType)104) // Available Slots loaded by 'use'
+#define TT_METHOD ((SbTextType)105) // Possibly allowed Method for controls
+#define TT_NOMETHOD ((SbTextType)106) // No Possibly allowed Method for controls
+
+#define FILELIST1 ((SbTextType)111) // Symbols in file 1
+#define FILELIST2 ((SbTextType)112) // Symbols in file 2
+#define FILELIST3 ((SbTextType)113) // Symbols in file 3
+#define FILELIST4 ((SbTextType)114) // Symbols in file 4
/// defines for hints from TestToolObj to the Application
-#define SBX_HINT_LANGUAGE_EXTENSION_LOADED SFX_HINT_USER06
-#define SBX_HINT_EXECUTION_STATUS_INFORMATION SFX_HINT_USER07
+#define SBX_HINT_LANGUAGE_EXTENSION_LOADED SFX_HINT_USER06
+#define SBX_HINT_EXECUTION_STATUS_INFORMATION SFX_HINT_USER07
-#define TT_EXECUTION_ENTERWAIT 0x01
-#define TT_EXECUTION_LEAVEWAIT 0x02
-#define TT_EXECUTION_SHOW_ACTION 0x03
-#define TT_EXECUTION_HIDE_ACTION 0x04
+#define TT_EXECUTION_ENTERWAIT 0x01
+#define TT_EXECUTION_LEAVEWAIT 0x02
+#define TT_EXECUTION_SHOW_ACTION 0x03
+#define TT_EXECUTION_HIDE_ACTION 0x04
class TTExecutionStatusHint : public SfxSimpleHint
{