summaryrefslogtreecommitdiff
path: root/sd
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 /sd
parentacc4c466c35e8ca9ca7ce8bd7b90c505061a0fb3 (diff)
basic: used typed LINKs
Change-Id: I8770a782e7ff5529e30aee13558711bdd8a4070d
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx4
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index de631df21e24..adce12becdba 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -669,7 +669,7 @@ void SAL_CALL SlideshowImpl::disposing()
#if HAVE_FEATURE_SCRIPTING
// restore StarBASICErrorHdl
StarBASIC::SetGlobalErrorHdl(maStarBASICGlobalErrorHdl);
- maStarBASICGlobalErrorHdl = Link<>();
+ maStarBASICGlobalErrorHdl = Link<StarBASIC*,bool>();
#endif
}
else
@@ -983,7 +983,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
#if HAVE_FEATURE_SCRIPTING
// disable basic ide error handling
maStarBASICGlobalErrorHdl = StarBASIC::GetGlobalErrorHdl();
- StarBASIC::SetGlobalErrorHdl( Link<>() );
+ StarBASIC::SetGlobalErrorHdl( Link<StarBASIC*,bool>() );
#endif
}
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index 41270adc8028..3e8f00f0272d 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -349,7 +349,7 @@ private:
Pointer maPencil;
std::vector< VclPtr< ::sd::Window> > maDrawModeWindows;
VclPtr< ::sd::Window> mpOldActiveWindow;
- Link<> maStarBASICGlobalErrorHdl;
+ Link<StarBASIC*,bool> maStarBASICGlobalErrorHdl;
unsigned long mnChildMask;
bool mbGridVisible;
bool mbBordVisible;