summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2024-04-27 19:04:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-27 20:34:31 +0200
commit6c9f7050f60725b64c288179e9aacc5b5327c240 (patch)
treee4ea9f4dfb595dd7a138f62ad5681ba202c76674
parent0eeb12b4243b7af92b99daddbce4eee0b828b6be (diff)
reduce symbol visibility in vbahelper
Change-Id: I68995b10956afe4b2a2cf69fe1393d4deaaff02a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166780 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--include/vbahelper/vbashaperange.hxx4
-rw-r--r--include/vbahelper/vbashapes.hxx4
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 );