summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source/bootstrapfixture.cxx2
-rw-r--r--test/source/vclbootstrapprotector.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index c27f22fb5c0b..fe4823d4cd27 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -67,7 +67,7 @@ void test_init_impl(bool bAssertOnDialog, bool bNeedUCB,
// Make GraphicConverter work, normally done in desktop::Desktop::Main()
Application::SetFilterHdl(
- STATIC_LINK(0, test::BootstrapFixture, ImplInitFilterHdl));
+ LINK(0, test::BootstrapFixture, ImplInitFilterHdl));
if (bNeedUCB)
{
diff --git a/test/source/vclbootstrapprotector.cxx b/test/source/vclbootstrapprotector.cxx
index b15ed9651a52..b2991b1de898 100644
--- a/test/source/vclbootstrapprotector.cxx
+++ b/test/source/vclbootstrapprotector.cxx
@@ -43,7 +43,7 @@ public:
if (test::isHeadless()) {
Application::EnableHeadlessMode(true);
}
- Application::setDeInitHook(STATIC_LINK(this, Protector, deinitHook));
+ Application::setDeInitHook(LINK(this, Protector, deinitHook));
}
private: