summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 19:11:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 19:15:32 +0200
commit5eb6bd4db7fb3d43672c386ac9cde58e981c8aa2 (patch)
treedadf670246d763449c3bacef4acfdd2c6251d198 /vcl
parente6fa865b4d5c7eb0576f7b1510077bca081ce4fb (diff)
lopluign:staticmethods: Handle DECL_LINK
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/svpclient.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index 8f3f4d4c6596..30b96c56dbd5 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -116,7 +116,7 @@ public:
DECL_LINK( ListHdl, Button* );
DECL_LINK( SelectHdl, ListBox* );
- DECL_LINK( QuitHdl, Button* );
+ DECL_STATIC_LINK( MyWin, QuitHdl, Button* );
};
void Main()
@@ -238,7 +238,7 @@ IMPL_LINK( MyWin, ListHdl, Button*, )
return 0;
}
-IMPL_LINK( MyWin, QuitHdl, Button*, )
+IMPL_STATIC_LINK_NOINSTANCE( MyWin, QuitHdl, Button*, )
{
processCommand( "quit" );
return 0;