diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-02-21 15:44:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-02-22 06:59:23 +0100 |
commit | a5ccdbbc457fb7aadca2d6a046ab891dedca5bb1 (patch) | |
tree | 425e88b8f9f4b006b68e3f5ef1c671f6b6a89dab /sw/inc | |
parent | 349af3ca598833b64db93bc1d32117431be992f2 (diff) |
UBSan RTTI fixes
after I missed a bunch of stuff when testing UBSan with
commit 3ba92b5f1eaf7d4447a0943ea260db515ca799dc
hide more symbols
Change-Id: Id3cb0b70b9fa24c7e3fba7fd565eb658dafa00f8
Change-Id: I369587ed3e14e50ca272037b9d950b62841695d5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163703
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/crsrsh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 2 | ||||
-rw-r--r-- | sw/inc/fesh.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 6859f9083bb8..e330974a7dcc 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -144,7 +144,7 @@ bool GetRanges(std::vector<std::shared_ptr<SwUnoCursor>> & rRanges, } // namespace sw -class SwCursorShell +class SAL_DLLPUBLIC_RTTI SwCursorShell : public SwViewShell , public sw::BroadcastingModify , public ::sw::IShellCursorSupplier diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index f90bad0dbc0f..b8bd2ad6effe 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -137,7 +137,7 @@ typedef std::vector<SwGetINetAttr> SwGetINetAttrs; #define CNT_HasGrf(USH) ((USH)&CNT_GRF) #define CNT_HasOLE(USH) ((USH)&CNT_OLE) -class SwEditShell : public SwCursorShell +class SAL_DLLPUBLIC_RTTI SwEditShell : public SwCursorShell { static SvxSwAutoFormatFlags* s_pAutoFormatFlags; diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 9431a2058ef4..6decb3bdf3a7 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -198,7 +198,7 @@ enum class SwTab class SdrDropMarkerOverlay; struct SwColCache; -class SwFEShell : public SwEditShell +class SAL_DLLPUBLIC_RTTI SwFEShell : public SwEditShell { private: mutable std::unique_ptr<SwColCache> m_pColumnCache; |