diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-04-28 20:27:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-04-28 22:30:17 +0200 |
commit | 5058a54d8d251837ad92478b91495c41497b670b (patch) | |
tree | 7092c8779fadca53a9f3f0081ad5e14d89182dfb /include/svx/sdr | |
parent | 0cfaf93bf5c6e4e505b45f5e4fbac54edd77ddd6 (diff) |
reduce symbol visibility
Change-Id: Iad2d114d257244f456d5579636e5c25ce070a08a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166805
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/sdr')
-rw-r--r-- | include/svx/sdr/properties/defaultproperties.hxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/include/svx/sdr/properties/defaultproperties.hxx b/include/svx/sdr/properties/defaultproperties.hxx index 410fa593ac92..21236c261fa8 100644 --- a/include/svx/sdr/properties/defaultproperties.hxx +++ b/include/svx/sdr/properties/defaultproperties.hxx @@ -41,23 +41,23 @@ namespace sdr::properties mutable std::optional<SfxItemSet> moItemSet; // create a new object specific itemset with object specific ranges. - virtual SfxItemSet CreateObjectSpecificItemSet(SfxItemPool& pPool) override; + SAL_DLLPRIVATE virtual SfxItemSet CreateObjectSpecificItemSet(SfxItemPool& pPool) override; // Test changeability for a single item. If an implementation wants to prevent // changing an item it should override this method. - virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr) const; + SAL_DLLPRIVATE virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr) const; // Do the internal ItemChange. If only nWhich is given, the item needs to be cleared. // Also needs to handle if nWhich and pNewItem is 0, which means to clear all items. - virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr); + SAL_DLLPRIVATE virtual void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr); // Called after ItemChange() is done for all items. Allows local reactions on // specific item changes - virtual void PostItemChange(const sal_uInt16 nWhich); + SAL_DLLPRIVATE virtual void PostItemChange(const sal_uInt16 nWhich); // Internally react on ItemSet changes. The given span contains changed items. // If nDeletedWhich is not 0, it indicates a deleted item. - virtual void ItemSetChanged(std::span< const SfxPoolItem* const > aChangedItems, sal_uInt16 nDeletedWhich); + SAL_DLLPRIVATE virtual void ItemSetChanged(std::span< const SfxPoolItem* const > aChangedItems, sal_uInt16 nDeletedWhich); // check if SfxItemSet exists bool HasSfxItemSet() const { return bool(moItemSet); } @@ -67,46 +67,46 @@ namespace sdr::properties explicit DefaultProperties(SdrObject& rObj); // constructor for copying, but using new object - DefaultProperties(const DefaultProperties& rProps, SdrObject& rObj); + SAL_DLLPRIVATE DefaultProperties(const DefaultProperties& rProps, SdrObject& rObj); // destructor - virtual ~DefaultProperties() override; + SAL_DLLPRIVATE virtual ~DefaultProperties() override; - void dumpAsXml(xmlTextWriterPtr pWriter) const override; + SAL_DLLPRIVATE void dumpAsXml(xmlTextWriterPtr pWriter) const override; // Clone() operator, normally just calls the local copy constructor - virtual std::unique_ptr<BaseProperties> Clone(SdrObject& rObj) const override; + SAL_DLLPRIVATE virtual std::unique_ptr<BaseProperties> Clone(SdrObject& rObj) const override; // get itemset - virtual const SfxItemSet& GetObjectItemSet() const override; + SAL_DLLPRIVATE virtual const SfxItemSet& GetObjectItemSet() const override; // set single item - virtual void SetObjectItem(const SfxPoolItem& rItem) override; + SAL_DLLPRIVATE virtual void SetObjectItem(const SfxPoolItem& rItem) override; // set single item direct, do not do any notifies or things like that - virtual void SetObjectItemDirect(const SfxPoolItem& rItem) override; + SAL_DLLPRIVATE virtual void SetObjectItemDirect(const SfxPoolItem& rItem) override; // clear single item - virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override; + SAL_DLLPRIVATE virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override; // clear single item direct, do not do any notifies or things like that. // Also supports complete deletion of items when default parameter 0 is used. - virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override; + SAL_DLLPRIVATE virtual void ClearObjectItemDirect(const sal_uInt16 nWhich) override; // set complete item set - virtual void SetObjectItemSet(const SfxItemSet& rSet) override; + SAL_DLLPRIVATE virtual void SetObjectItemSet(const SfxItemSet& rSet) override; // set a new StyleSheet and broadcast - virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr, + SAL_DLLPRIVATE virtual void SetStyleSheet(SfxStyleSheet* pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) override; // get the installed StyleSheet - virtual SfxStyleSheet* GetStyleSheet() const override; + SAL_DLLPRIVATE virtual SfxStyleSheet* GetStyleSheet() const override; // force default attributes for a specific object type, called from // DefaultProperties::GetObjectItemSet() if a new ItemSet is created. // Default implementation does nothing. - virtual void ForceDefaultAttributes(); + SAL_DLLPRIVATE virtual void ForceDefaultAttributes(); }; } // end of namespace sdr::properties |