UBSan RTTI fixes

after I missed a bunch of stuff when testing UBSan with
    commit 3ba92b5f1eaf7d4447a0943ea260db515ca799dc
    hide more symbols

Change-Id: I0743a0c0c6abcb2904face8386e26153ae3229a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163718
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/include/dbaccess/dbaundomanager.hxx b/include/dbaccess/dbaundomanager.hxx
index 07e4fd2..7c25c36 100644
--- a/include/dbaccess/dbaundomanager.hxx
+++ b/include/dbaccess/dbaundomanager.hxx
@@ -55,7 +55,7 @@ namespace dbaui

    struct UndoManager_Impl;
    typedef ::cppu::ImplHelper1< css::document::XUndoManager > UndoManager_Base;
    class UndoManager final : public UndoManager_Base
    class SAL_DLLPUBLIC_RTTI UndoManager final : public UndoManager_Base
    {
    public:
        DBACCESS_DLLPUBLIC UndoManager( ::cppu::OWeakObject& i_parent, ::osl::Mutex& i_mutex );
diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx
index 281fadb..872ce7c 100644
--- a/include/svx/graphctl.hxx
+++ b/include/svx/graphctl.hxx
@@ -43,7 +43,7 @@ public:

class SvxGraphCtrlAccessibleContext;

class GraphCtrl : public weld::CustomWidgetController
class SAL_DLLPUBLIC_RTTI GraphCtrl : public weld::CustomWidgetController
{
    friend class GraphCtrlView;
    friend class GraphCtrlUserCall;
diff --git a/reportdesign/inc/UndoEnv.hxx b/reportdesign/inc/UndoEnv.hxx
index aca48b7..823c07b 100644
--- a/reportdesign/inc/UndoEnv.hxx
+++ b/reportdesign/inc/UndoEnv.hxx
@@ -37,7 +37,7 @@ namespace rptui
    class OXUndoEnvironmentImpl;


    class OXUndoEnvironment final
    class SAL_DLLPUBLIC_RTTI OXUndoEnvironment final
        : public ::cppu::WeakImplHelper<   css::beans::XPropertyChangeListener
                                        ,   css::container::XContainerListener
                                        ,   css::util::XModifyListener