summaryrefslogtreecommitdiff
path: root/include/basic/sbstar.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-14 09:20:01 +0200
committerNoel Grandin <noel@peralex.com>2015-05-19 11:10:54 +0200
commitae451af87d01de3806abf1db474017d002092e4c (patch)
tree6da5249f4a848d186d2c47a7f8c6ddc9ad0f713c /include/basic/sbstar.hxx
parentacc4c466c35e8ca9ca7ce8bd7b90c505061a0fb3 (diff)
basic: used typed LINKs
Change-Id: I8770a782e7ff5529e30aee13558711bdd8a4070d
Diffstat (limited to 'include/basic/sbstar.hxx')
-rw-r--r--include/basic/sbstar.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx
index fbe8d1d4e855..4f75dc646776 100644
--- a/include/basic/sbstar.hxx
+++ b/include/basic/sbstar.hxx
@@ -54,8 +54,8 @@ class BASIC_DLLPUBLIC StarBASIC : public SbxObject
SbxArrayRef xUnoListeners; // Listener handled by CreateUnoListener
// Handler-Support:
- Link<> aErrorHdl; // Error handler
- Link<> aBreakHdl; // Breakpoint handler
+ Link<StarBASIC*,bool> aErrorHdl; // Error handler
+ Link<StarBASIC*,sal_uInt16> aBreakHdl; // Breakpoint handler
bool bNoRtl; // if true: do not search RTL
bool bBreak; // if true: Break, otherwise Step
bool bDocBasic;
@@ -148,14 +148,14 @@ public:
static SbError GetSfxFromVBError( sal_uInt16 nError );
bool IsBreak() const { return bBreak; }
- static Link<> GetGlobalErrorHdl();
- static void SetGlobalErrorHdl( const Link<>& rNewHdl );
- Link<> GetErrorHdl() const { return aErrorHdl; }
- void SetErrorHdl( const Link<>& r ) { aErrorHdl = r; }
+ static Link<StarBASIC*,bool> GetGlobalErrorHdl();
+ static void SetGlobalErrorHdl( const Link<StarBASIC*,bool>& rNewHdl );
+ Link<StarBASIC*,bool> GetErrorHdl() const { return aErrorHdl; }
+ void SetErrorHdl( const Link<StarBASIC*,bool>& r ) { aErrorHdl = r; }
- static void SetGlobalBreakHdl( const Link<>& rNewHdl );
- Link<> GetBreakHdl() const { return aBreakHdl; }
- void SetBreakHdl( const Link<>& r ) { aBreakHdl = r; }
+ static void SetGlobalBreakHdl( const Link<StarBASIC*,sal_uInt16>& rNewHdl );
+ Link<StarBASIC*,sal_uInt16> GetBreakHdl() const { return aBreakHdl; }
+ void SetBreakHdl( const Link<StarBASIC*,sal_uInt16>& r ) { aBreakHdl = r; }
SbxArrayRef getUnoListeners();