summaryrefslogtreecommitdiff
path: root/include/svx/sdr
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sdr')
-rw-r--r--include/svx/sdr/properties/defaultproperties.hxx36
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