Kaydet (Commit) 267aa59d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reverted GetX11SalData to always use dynamic_cast.

üst 3afa389d
......@@ -94,14 +94,10 @@
X11SalData* GetX11SalData()
{
SalData * p1 = ImplGetSVData()->mpSalData;
#if OSL_DEBUG_LEVEL > 0
OSL_ASSERT(p1 != 0);
X11SalData * p2 = dynamic_cast< X11SalData * >(p1);
OSL_ASSERT(p2 != 0);
return p2;
#else
return (X11SalData *) p1;
#endif
}
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment