diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-12 10:06:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-03-13 10:45:51 +0100 |
commit | 1a6711276f0c8abeb0028a47cc345a7453374a38 (patch) | |
tree | f1fa53b3db360dc3def6552b88c51708149e2bc1 /sw/inc/authfld.hxx | |
parent | 7eebe680068f68d2e4081c2f4d9b290a4524d40a (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/authfld.hxx')
-rw-r--r-- | sw/inc/authfld.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index 6996f5090b68..f20c07c929b3 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -62,7 +62,7 @@ struct SwTOXSortKey typedef std::vector<SwTOXSortKey> SortKeyArr; typedef std::vector<rtl::Reference<SwAuthEntry>> SwAuthDataArr; -class SW_DLLPUBLIC SwAuthorityFieldType final : public SwFieldType +class SAL_DLLPUBLIC_RTTI SwAuthorityFieldType final : public SwFieldType { SwDoc* m_pDoc; SwAuthDataArr m_DataArr; @@ -97,8 +97,8 @@ public: m_SequArrRLHidden.clear(); } - void GetAllEntryIdentifiers( std::vector<OUString>& rToFill ) const; - SwAuthEntry* GetEntryByIdentifier(std::u16string_view rIdentifier) const; + SW_DLLPUBLIC void GetAllEntryIdentifiers( std::vector<OUString>& rToFill ) const; + SW_DLLPUBLIC SwAuthEntry* GetEntryByIdentifier(std::u16string_view rIdentifier) const; bool ChangeEntryContent(const SwAuthEntry* pNewEntry); // import interface @@ -129,13 +129,13 @@ public: m_bSortByDocument = bSet; } - sal_uInt16 GetSortKeyCount() const ; - const SwTOXSortKey* GetSortKey(sal_uInt16 nIdx) const ; + SW_DLLPUBLIC sal_uInt16 GetSortKeyCount() const ; + SW_DLLPUBLIC const SwTOXSortKey* GetSortKey(sal_uInt16 nIdx) const ; void SetSortKeys(sal_uInt16 nKeyCount, SwTOXSortKey const nKeys[]); //initui.cxx - static OUString const & GetAuthFieldName(ToxAuthorityField eType); - static OUString const & GetAuthTypeName(ToxAuthorityType eType); + SW_DLLPUBLIC static OUString const & GetAuthFieldName(ToxAuthorityField eType); + SW_DLLPUBLIC static OUString const & GetAuthTypeName(ToxAuthorityType eType); LanguageType GetLanguage() const {return m_eLanguage;} void SetLanguage(LanguageType nLang) {m_eLanguage = nLang;} @@ -157,7 +157,7 @@ public: one of the instances with the same m_nHandle is actually in the document, they're all cloned via CopyField()... */ -class SW_DLLPUBLIC SwAuthorityField final : public SwField +class SAL_DLLPUBLIC_RTTI SwAuthorityField final : public SwField { rtl::Reference<SwAuthEntry> m_xAuthEntry; mutable sal_IntPtr m_nTempSequencePos; @@ -181,7 +181,7 @@ public: OUString ConditionalExpandAuthIdentifier(SwRootFrame const* pLayout) const; //To handle Citation - OUString ExpandCitation(ToxAuthorityField eField, SwRootFrame const* pLayout) const; + SW_DLLPUBLIC OUString ExpandCitation(ToxAuthorityField eField, SwRootFrame const* pLayout) const; SwAuthorityField(SwAuthorityFieldType* pType, std::u16string_view rFieldContents); SwAuthorityField(SwAuthorityFieldType* pType, SwAuthEntry* pAuthEntry); @@ -206,7 +206,7 @@ public: * \param pTOX bibliography table to take the format of the string from * \return entry formatted as the appropriate authority type in the table */ - OUString GetAuthority(const SwRootFrame *pLayout, + SW_DLLPUBLIC OUString GetAuthority(const SwRootFrame *pLayout, const SwForm *pTOX = nullptr) const; /** @@ -218,7 +218,7 @@ public: * Returns absolute target URL in case there is one (GetTargetType() should be checked). * If there isn't one, the result is undefined. */ - OUString GetAbsoluteURL() const; + SW_DLLPUBLIC OUString GetAbsoluteURL() const; /** * Returns relative URI for the URL |