diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2018-12-23 00:59:55 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2018-12-27 23:29:30 +0100 |
commit | 773e4896521ccf29ab040f977a3faaadd805c8d8 (patch) | |
tree | 422e3eeb9ee8f5693592f56e56c382304031bccb /desktop | |
parent | 6bd1f8b75046de52eed5eea901603b090937ee71 (diff) |
tdf#122116 Only create CPDManager if D-Bus descriptions present
Since the XML files are required in the
'onNameAcquired()' method, check for their existence
before returning a CPDManager pointer in
'tryLoadCPD()', to avoid returning a CPDManager
that is unusable (and will even lead to a crash).
Change-Id: I83c493ba8bd775ea398111971cbecb9352050194
Reviewed-on: https://gerrit.libreoffice.org/65576
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
(cherry picked from commit 87d90b6e60659e9c976daa9692ae99ec87a6978c)
Reviewed-on: https://gerrit.libreoffice.org/65634
Diffstat (limited to 'desktop')
0 files changed, 0 insertions, 0 deletions