From: vsr Date: Mon, 20 Jun 2005 14:32:35 +0000 (+0000) Subject: Export getExceptionHandler() function (bug on WNT) X-Git-Tag: T3_0_0_a4~67 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9daca906a447c44dbea8da2dc34ad1103a6476f8;p=modules%2Fgui.git Export getExceptionHandler() function (bug on WNT) --- diff --git a/src/SalomeApp/SalomeApp_ExceptionHandler.cxx b/src/SalomeApp/SalomeApp_ExceptionHandler.cxx index ac7b408da..aebfb9c8c 100644 --- a/src/SalomeApp/SalomeApp_ExceptionHandler.cxx +++ b/src/SalomeApp/SalomeApp_ExceptionHandler.cxx @@ -63,10 +63,7 @@ bool SalomeApp_ExceptionHandler::handle( QObject* o, QEvent* e ) return res; } -extern "C" +extern "C" SALOMEAPP_EXPORT SUIT_ExceptionHandler* getExceptionHandler() { - SUIT_ExceptionHandler* getExceptionHandler() - { - return new SalomeApp_ExceptionHandler( true ); - } + return new SalomeApp_ExceptionHandler( true ); }