diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/inc/genericcontroller.hxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/genericcontroller.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/inc/genericcontroller.hxx b/dbaccess/inc/genericcontroller.hxx index 2316566ec616..0880138738f5 100644 --- a/dbaccess/inc/genericcontroller.hxx +++ b/dbaccess/inc/genericcontroller.hxx @@ -520,7 +520,8 @@ namespace dbaui virtual void SAL_CALL removeMouseClickHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseClickHandler >& xHandler ) throw (::com::sun::star::uno::RuntimeException); protected: -#ifdef WNT +#ifdef _MSC_VER + __declspec(noreturn) OGenericUnoController(); // never implemented #endif }; diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx index 9f24613fc297..35eb6d359fba 100644 --- a/dbaccess/source/ui/browser/genericcontroller.cxx +++ b/dbaccess/source/ui/browser/genericcontroller.cxx @@ -208,8 +208,9 @@ OGenericUnoController::OGenericUnoController(const Reference< XMultiServiceFacto } } -#ifdef WNT +#ifdef _MSC_VER // ----------------------------------------------------------------------------- +__declspec(noreturn) OGenericUnoController::OGenericUnoController() :OGenericUnoController_Base( getMutex() ) ,m_pView(NULL) |