diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 15:26:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-25 15:26:59 +0200 |
commit | 39380c04a5de4b56da566c139944b387a4ec133a (patch) | |
tree | 7b6d204e69b75eaac20f2b54a134e4f5f0940e5f /scaddins | |
parent | 6292bfc282c56ec4a9098989957c4cdfc6ef1e0f (diff) |
Avoid unnecessary dereferencing of potential null pointers
That pDoc can be null here and in previous
2406562733f62b96dd8e6537e1bf4bef147ef50c is somewhat fishy, but probably related
to "NOTE: the sw.SwXAutoTextEntry unoapi test depends on pDoc = 0" from
"fdo#72695: avoid double-free race condition for SwXTextField." As mstahl puts
it: "hmm... theres some stupid unoapi test that inserts a field into an
SwXAutoTextEntry which is a horribly odd class that doesn't have any way of
creating SwXanything of its own SwDoc... so probably your commit is required
after all."
Change-Id: I2da77e1180e205eca274ce0330ee2a4d5aab29ac
Diffstat (limited to 'scaddins')
0 files changed, 0 insertions, 0 deletions