summaryrefslogtreecommitdiff
path: root/sc/Library_scui.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-22 08:23:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-22 08:37:26 +0100
commit60db0ded330f800306b9a829922bf389e1c0aa07 (patch)
treee11dc31f724045e05336e11bf1b12455fa5919b1 /sc/Library_scui.mk
parentee27dae3b5df1e3fc63ecb2ee2c2d123fd4c8cff (diff)
Move sc/source/ui/dbgui/validate.cxx from scui to sc
8d1a24dae03690b576310e3539369916f31ac475 "Make virtual ~ScValidationDlg non-inline" caused the RTTI for ScValidationDlg to only be emitted in library scui instead of (weakly) wherever needed. That causes UBSan to fail when it uses the RTTI in ScValidityRefChildWin::ScValidityRefChildWin (sc/source/ui/view/reffact.cxx, in library sc, to check that operations on VclPtr<ScValidationDlg> pDlg indeed operate on an ScValidationDlg object). The cleanest fix appears to be to move ScValidationDlg from scui to sc. As Moggi put it on IRC, "that dialog should be in sc as it is a modeless dialog; no idea why it works for that dialog but all other modeless calc dialogs have to be in sc to avoid linker problems." One remaining question is whether it is save nowadays in ScCellShell::ExecuteDB (sc/source/ui/view/cellsh2.cxx) to clean up the ScValidationDlg pointed to by pDlg when that VclPtr<ScValidationDlg> variable goes out of scope, instead of doing the PostUserEvent(... DelayDeleteAbstractDialog) dance that was there before because "after end execute from !IsModalInputMode, it is safer to delay deleting." Lets see. Change-Id: I3ecfd4fafc7b37b2f30e75974ece9b0a23311ef4
Diffstat (limited to 'sc/Library_scui.mk')
-rw-r--r--sc/Library_scui.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/Library_scui.mk b/sc/Library_scui.mk
index 75d6966d64b6..fa9d6ea6796e 100644
--- a/sc/Library_scui.mk
+++ b/sc/Library_scui.mk
@@ -74,7 +74,6 @@ $(eval $(call gb_Library_add_exception_objects,scui,\
sc/source/ui/dbgui/textimportoptions \
sc/source/ui/dbgui/tpsort \
sc/source/ui/dbgui/tpsubt \
- sc/source/ui/dbgui/validate \
sc/source/ui/docshell/tpstat \
sc/source/ui/miscdlgs/crdlg \
sc/source/ui/miscdlgs/datafdlg \