summaryrefslogtreecommitdiff
path: root/sw/inc/section.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-03-12 10:06:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-03-13 10:45:51 +0100
commit1a6711276f0c8abeb0028a47cc345a7453374a38 (patch)
treef1fa53b3db360dc3def6552b88c51708149e2bc1 /sw/inc/section.hxx
parent7eebe680068f68d2e4081c2f4d9b290a4524d40a (diff)
reduce symbol visibility in sw
Change-Id: Ib3edefc365d3c605c3024e160572fa4030100ef1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164724 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r--sw/inc/section.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index f75c68b13f80..e59d727f5291 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -136,7 +136,7 @@ public:
void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
-class SW_DLLPUBLIC SwSection
+class SAL_DLLPUBLIC_RTTI SwSection
: public SwClient
, public SvtListener // needed for SwClientNotify to be called from SwSectionFormat
{
@@ -180,7 +180,7 @@ public:
// (Attributes/flags are set/get.)
bool IsHidden() const { return m_Data.IsHidden(); }
void SetHidden (bool const bFlag = true);
- bool IsProtect() const;
+ SW_DLLPUBLIC bool IsProtect() const;
void SetProtect(bool const bFlag = true);
bool IsEditInReadonly() const;
void SetEditInReadonly(bool const bFlag = true);
@@ -243,7 +243,7 @@ public:
{ m_Data.SetConnectFlag(bFlag); }
// Return the TOX base class if the section is a TOX section
- const SwTOXBase* GetTOXBase() const;
+ SW_DLLPUBLIC const SwTOXBase* GetTOXBase() const;
void BreakLink();
@@ -270,7 +270,7 @@ class SwSectionFrameMoveAndDeleteHint final : public SfxHint
enum class SectionSort { Not, Pos };
-class SW_DLLPUBLIC SwSectionFormat final
+class SAL_DLLPUBLIC_RTTI SwSectionFormat final
: public SwFrameFormat
, public ::sfx2::Metadatable
{
@@ -288,7 +288,7 @@ class SW_DLLPUBLIC SwSectionFormat final
virtual void SwClientNotify(const SwModify&, const SfxHint&) override;
public:
- virtual ~SwSectionFormat() override;
+ SW_DLLPUBLIC virtual ~SwSectionFormat() override;
// Deletes all Frames in aDepend (Frames are recognized via dynamic_cast).
virtual void DelFrames() override;
@@ -301,21 +301,21 @@ public:
virtual bool IsVisible() const override;
- SwSection* GetSection() const;
+ SW_DLLPUBLIC SwSection* GetSection() const;
inline SwSectionFormat* GetParent() const;
inline SwSection* GetParentSection() const;
// All sections that are derived from this one:
// - sorted according to name or position or unsorted
// - all of them or only those that are in the normal Nodes-array.
- void GetChildSections( SwSections& rArr,
+ SW_DLLPUBLIC void GetChildSections( SwSections& rArr,
SectionSort eSort = SectionSort::Not,
bool bAllSections = true ) const;
// Query whether section is in Nodes-array or in UndoNodes-array.
- bool IsInNodesArr() const;
+ SW_DLLPUBLIC bool IsInNodesArr() const;
- SwSectionNode* GetSectionNode();
+ SW_DLLPUBLIC SwSectionNode* GetSectionNode();
const SwSectionNode* GetSectionNode() const
{ return const_cast<SwSectionFormat *>(this)
->GetSectionNode(); }
@@ -330,7 +330,7 @@ public:
// sfx2::Metadatable
virtual ::sfx2::IXmlIdRegistry& GetRegistry() override;
virtual bool IsInClipboard() const override;
- virtual bool IsInUndo() const override;
+ SW_DLLPUBLIC virtual bool IsInUndo() const override;
virtual bool IsInContent() const override;
virtual css::uno::Reference< css::rdf::XMetadatable > MakeUnoObject() override;
virtual bool supportsFullDrawingLayerFillAttributeSet() const override;