sw/source/core/inc/UndoManager.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c1b5607264e3bafeb35df80c16664f2bddf33c2b
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Tue Feb 27 11:29:52 2024 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Tue Feb 27 17:42:53 2024 +0100

    Fix UBSan build's RTTI needs
    
    ...after 3ba92b5f1eaf7d4447a0943ea260db515ca799dc "hide more symbols" had 
caused
    CppunitTest_sw_uiwriter to fail with
    
    > DynamicLibraryManagerException: "Failed to load dynamic library: 
workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter.so
    > workdir/LinkTarget/CppunitTest/libtest_sw_uiwriter.so: undefined symbol: 
_ZTIN2sw11UndoManagerE"
    
    Change-Id: Ia17fd3c9d8f4e227cdd9ca3a5aa6f94f51c46168
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164028
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/sw/source/core/inc/UndoManager.hxx 
b/sw/source/core/inc/UndoManager.hxx
index 5d292ce995b7..0993cdf5c656 100644
--- a/sw/source/core/inc/UndoManager.hxx
+++ b/sw/source/core/inc/UndoManager.hxx
@@ -38,7 +38,7 @@ namespace sw {
  * It contains a stack of SwUndo actions, each of which represents one 
user-visible
  * undo / redo step.
  */
-class UndoManager final
+class SAL_DLLPUBLIC_RTTI UndoManager final
     : public IDocumentUndoRedo
     , public SdrUndoManager
 {

Reply via email to