office-gobmx/dbaccess
Stephan Bergmann 86b86ac87e Give DocumentEventHolder (aka EventHolder<DocumentEvent>) a key function
...that is not inline, so that RTTI and vtable are not emitted for each dynamic
library individually.  (Where they would be internal on macOS, which could break
optimized uses of dynamic_cast for that final class just checking vtable pointer
identity, as could happen for the dynamic_cast at
dbaccess/source/core/dataaccess/documenteventnotifier.cxx:232:51,

>   232 |         const DocumentEventHolder& rEventHolder = dynamic_cast< const DocumentEventHolder& >( _rEvent );
>       |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And with the extern explicit template instantiation, EventHolder needs to be
SAL_DLLPUBLIC_TEMPLATE instead of just SAL_DLLPUBLIC_RTTI now, so that
Library_comphelper will export the DocumentEventHolder ctors and
DocumentEventHolder::getEventObject.)

(This would ideally have been caught by an upcoming improvement of
loplugin:dyncastvisibility, but might be complicated to check there for template
instantiations.)

Change-Id: I1e6280b185535968a870fbfadaff6238d38858e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176547
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Tested-by: Jenkins
2024-11-14 11:10:30 +01:00
..
inc Resolves tdf#140298 - Improve UX for SQL dialog 2024-09-05 07:38:22 +02:00
qa com::sun::star -> css 2024-11-10 10:50:15 +01:00
source Give DocumentEventHolder (aka EventHolder<DocumentEvent>) a key function 2024-11-14 11:10:30 +01:00
uiconfig Resolves tdf#140298 - Improve UX for SQL dialog 2024-09-05 07:38:22 +02:00
util
win32/source/odbcconfig
AllLangMoTarget_dba.mk
CppunitTest_dbaccess_CRMDatabase_test.mk fix --disable-firebird-sdbc build 2024-07-04 20:50:56 +02:00
CppunitTest_dbaccess_dialog_save.mk dbaccess: use createTempCopy instead of doing it in make 2024-06-11 16:23:22 +02:00
CppunitTest_dbaccess_dialogs_test.mk
CppunitTest_dbaccess_embeddeddb_performancetest.mk CppunitTest_dbaccess_embeddeddb_performancetest: fix dependencies 2024-07-05 15:31:58 +02:00
CppunitTest_dbaccess_empty_stdlib_save.mk dbaccess: use createTempCopy instead of doing it in make 2024-06-11 16:23:22 +02:00
CppunitTest_dbaccess_firebird_test.mk
CppunitTest_dbaccess_hsqlbinary_import.mk
CppunitTest_dbaccess_hsqldb_test.mk
CppunitTest_dbaccess_hsqlschema_import.mk
CppunitTest_dbaccess_nolib_save.mk dbaccess: use createTempCopy instead of doing it in make 2024-06-11 16:23:22 +02:00
CppunitTest_dbaccess_RowSetClones.mk dbaccess: use createTempCopy instead of doing it in make 2024-06-11 16:23:22 +02:00
CppunitTest_dbaccess_tdf119625.mk
CppunitTest_dbaccess_tdf126268.mk
Executable_odbcconfig.mk
IwyuFilter_dbaccess.yaml
JunitTest_dbaccess_complex.mk dbaccess complex/DataSource.java to extras/dataSource.cxx 2024-07-07 20:07:06 +02:00
JunitTest_dbaccess_unoapi.mk
Library_dba.mk
Library_dbahsql.mk Use tools::Duration / DateTime to avoid use of boost 2024-07-21 19:15:22 +02:00
Library_dbaxml.mk
Library_dbu.mk
Library_sdbt.mk
Makefile
Module_dbaccess.mk dbaccess: Fix --without-java build 2024-07-23 11:20:44 +02:00
PythonTest_dbaccess_python.mk
README.md
UIConfig_dbaccess.mk
UIConfig_dbapp.mk
UIConfig_dbbrowser.mk
UIConfig_dbquery.mk
UIConfig_dbrelation.mk
UIConfig_dbtable.mk
UIConfig_dbtdata.mk

Database Access Tools for LibreOffice Base DB Apps

Database access tools, for base database application

Builds on top of drivers in connectivity.