remove SFX_APP() macro that was a mer wrapper for SfxGetApp()

Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
fdo#69036 do not try to create a sfxApplication when we are tearing-down

This was triggered by connectivity calc driver, which on shutdown
was trying to 'dispose()' it's connection
which in turn would, if the shutdown of calc was already done
try to re-create an sfxApplication instance, just to delete
illusory inexistant documents...

Change-Id: Ic166367ca399d613743f379ebbfbffb5813701c0
odbc properly support platform with sizeof(SQLWCHAR) = 4

Change-Id: I06d5a6c93817d2623fac3962b82c1319caf13276