Previous fix did not help, have to just ignore the "Unreachable code" warning
Change-Id: Ic62056e2df9a17fd6716ae90e4372dec1d5dd40f
This commit is contained in:
@@ -521,7 +521,6 @@ namespace dbaui
|
||||
|
||||
protected:
|
||||
#ifdef _MSC_VER
|
||||
__declspec(noreturn)
|
||||
OGenericUnoController(); // never implemented
|
||||
#endif
|
||||
};
|
||||
|
@@ -209,8 +209,10 @@ OGenericUnoController::OGenericUnoController(const Reference< XMultiServiceFacto
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// -----------------------------------------------------------------------------
|
||||
__declspec(noreturn)
|
||||
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable:4702)
|
||||
|
||||
OGenericUnoController::OGenericUnoController()
|
||||
:OGenericUnoController_Base( getMutex() )
|
||||
,m_pView(NULL)
|
||||
@@ -230,6 +232,9 @@ OGenericUnoController::OGenericUnoController()
|
||||
// we simply abort here.
|
||||
abort();
|
||||
}
|
||||
|
||||
#pragma warning(pop)
|
||||
|
||||
#endif
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user