From 6c9f7050f60725b64c288179e9aacc5b5327c240 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 27 Apr 2024 19:04:47 +0200 Subject: [PATCH] reduce symbol visibility in vbahelper Change-Id: I68995b10956afe4b2a2cf69fe1393d4deaaff02a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166780 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vbahelper/vbashaperange.hxx | 4 ++-- include/vbahelper/vbashapes.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/vbahelper/vbashaperange.hxx b/include/vbahelper/vbashaperange.hxx index dfcca6c82549..3dff675063aa 100644 --- a/include/vbahelper/vbashaperange.hxx +++ b/include/vbahelper/vbashaperange.hxx @@ -51,7 +51,7 @@ namespace ooo::vba { typedef CollTestImplHelper< ov::msforms::XShapeRange > ScVbaShapeRange_BASE; -class VBAHELPER_DLLPUBLIC ScVbaShapeRange final : public ScVbaShapeRange_BASE +class SAL_DLLPUBLIC_RTTI ScVbaShapeRange final : public ScVbaShapeRange_BASE { private: css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage; @@ -62,7 +62,7 @@ private: /// @throws css::uno::RuntimeException css::uno::Reference< css::drawing::XShapes > const & getShapes() ; public: - ScVbaShapeRange( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xShapes, css::uno::Reference< css::drawing::XDrawPage> xDrawShape, css::uno::Reference< css::frame::XModel > xModel ); + VBAHELPER_DLLPUBLIC ScVbaShapeRange( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xShapes, css::uno::Reference< css::drawing::XDrawPage> xDrawShape, css::uno::Reference< css::frame::XModel > xModel ); // Methods virtual void SAL_CALL Select( ) override; diff --git a/include/vbahelper/vbashapes.hxx b/include/vbahelper/vbashapes.hxx index 7131d8118031..0367f16785c6 100644 --- a/include/vbahelper/vbashapes.hxx +++ b/include/vbahelper/vbashapes.hxx @@ -52,7 +52,7 @@ namespace ooo::vba { typedef CollTestImplHelper< ov::msforms::XShapes > ScVbaShapes_BASE; -class VBAHELPER_DLLPUBLIC ScVbaShapes final : public ScVbaShapes_BASE +class SAL_DLLPUBLIC_RTTI ScVbaShapes final : public ScVbaShapes_BASE { private: css::uno::Reference< css::drawing::XShapes > m_xShapes; @@ -77,7 +77,7 @@ private: //css::awt::Point calculateTopLeftMargin( css::uno::Reference< ov::XHelperInterface > xDocument ); public: - ScVbaShapes( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xShapes, css::uno::Reference< css::frame::XModel > xModel ); + VBAHELPER_DLLPUBLIC ScVbaShapes( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xShapes, css::uno::Reference< css::frame::XModel > xModel ); /// @throws css::uno::RuntimeException static void setDefaultShapeProperties( const css::uno::Reference< css::drawing::XShape >& xShape ); static void setShape_NameProperty( const css::uno::Reference< css::drawing::XShape >& xShape, const OUString& sName ); -- 2.11.4.GIT