diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-14 09:20:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-19 11:10:54 +0200 |
commit | ae451af87d01de3806abf1db474017d002092e4c (patch) | |
tree | 6da5249f4a848d186d2c47a7f8c6ddc9ad0f713c /basctl/source/basicide | |
parent | acc4c466c35e8ca9ca7ce8bd7b90c505061a0fb3 (diff) |
basic: used typed LINKs
Change-Id: I8770a782e7ff5529e30aee13558711bdd8a4070d
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r-- | basctl/source/basicide/iderdll.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/iderdll2.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx index 24a2bf4dcf43..535397b31933 100644 --- a/basctl/source/basicide/iderdll.cxx +++ b/basctl/source/basicide/iderdll.cxx @@ -174,9 +174,9 @@ void ExtraData::SetSearchItem (const SvxSearchItem& rItem) pSearchItem.reset(static_cast<SvxSearchItem*>(rItem.Clone())); } -IMPL_STATIC_LINK(ExtraData, GlobalBasicBreakHdl, StarBASIC *, pBasic) +IMPL_STATIC_LINK_TYPED(ExtraData, GlobalBasicBreakHdl, StarBASIC *, pBasic, sal_uInt16) { - long nRet = 0; + sal_uInt16 nRet = 0; if (Shell* pShell = GetShell()) { if (BasicManager* pBasMgr = FindBasicManager(pBasic)) diff --git a/basctl/source/basicide/iderdll2.hxx b/basctl/source/basicide/iderdll2.hxx index 6359d177ab57..e64b6a01ae4e 100644 --- a/basctl/source/basicide/iderdll2.hxx +++ b/basctl/source/basicide/iderdll2.hxx @@ -50,7 +50,7 @@ private: bool bShellInCriticalSection; protected: - DECL_STATIC_LINK( ExtraData, GlobalBasicBreakHdl, StarBASIC * ); + DECL_STATIC_LINK_TYPED( ExtraData, GlobalBasicBreakHdl, StarBASIC *, sal_uInt16 ); public: ExtraData(); |