Revert OCD commit tick.

Revert "Appease VS2010 warning and make ui code more consistent with the modern standard in daeexport.cpp"

This reverts commit cb6dec62ec5e9a2bd09750b425b34871093e7c2a.
Re-apply warning fix after the previous revert