path: root/editeng/
diff options
authorBjoern Michaelsen <>2017-03-09 00:35:42 +0100
committerBjörn Michaelsen <>2017-03-10 12:59:26 +0000
commit1a044b25c279236d9f67847ec6ad426d8c5aac13 (patch)
tree976653fc4df74d4a5b36d469d737e019ac0a1af2 /editeng/
parentfe73eff36718b6d99d0cf92d750c457872cc4dcc (diff)
tdf#99352: dispose EditEngines when SfxApp dies
In an ideal world, by the time we reach DeInitVCL() there should be neither non-null VclPtr nor EditEngine instances around. This fixes the former for those VclPtrs owned by EditEngines, by disposing them when SfxApplication is dying. The goal is -- for now -- to not have any non-null VclPtrs around by DeInitVCL(), so we can e.g. assert() on that to pick up regressions. Should we one day have all EditEngines accounted for with proper smart pointers that get torn down before DeInitVCL(), the Dispose() introduced here might be removed again. Change-Id: I47b17f7fd31fce2ac5fd6f6b146d356d7d07e677 Reviewed-on: Reviewed-by: Björn Michaelsen <> Tested-by: Björn Michaelsen <>
Diffstat (limited to 'editeng/')
1 files changed, 1 insertions, 0 deletions
diff --git a/editeng/ b/editeng/
index c6c2fa06b666..88ba8557bb50 100644
--- a/editeng/
+++ b/editeng/
@@ -136,6 +136,7 @@ $(eval $(call gb_Library_use_libraries,editeng,\
vcl \
svl \
sot \
+ sfx \
utl \
tl \
comphelper \