summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-11 10:26:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-11 11:08:02 +0100
commit0e4b36269097f8865bdbc1b9d299a2776ae0cc06 (patch)
treee5446ab0d7a42b98ed9333c25ac66ba54c438f53 /xmloff/inc
parent5c4d1b05faa8a3d704fc74a186a173f8cc019cc1 (diff)
ScGlobal::GetAutoFormat not always required to create fresh instance.
...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.
Diffstat (limited to 'xmloff/inc')
0 files changed, 0 insertions, 0 deletions