• Stephan Bergmann's avatar
    ScGlobal::GetAutoFormat not always required to create fresh instance. · 0e4b3626
    Stephan Bergmann yazdı
    ...at least in ~ScAutoFormatObj it appears unnecessary and can lead to
    crashes during Desktop::DeregisterServices (when ScGlobal::ppRscString
    is already null and ScAutoFormat ctor calls ScGlobal::GetRscString).
    
    Therefore split GetAutoFormat in two, GetOrCreateAutoFormat for cases
    that probably need a non-null return and GetAutoFormat for those that
    are OK with a null return.
    0e4b3626
global.hxx 26.9 KB