summaryrefslogtreecommitdiff
path: root/svx/inc/sdr
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-06 22:14:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-07 11:12:14 +0100
commit93790b70ea663184f758031dc5af311828fe36ad (patch)
treefeed1ac577f505e6c371ae1c24ddc2f7ee33b9d7 /svx/inc/sdr
parentc52aa97b988aeeb16d1eb21262889f565b8a72a3 (diff)
move applyDefaultStyleSheetFromSdrModel from BaseProperties..
to AttributeProperties, since it only applies to AttributeProperties and its sub-classes. Change-Id: I01527f75815659d1cf2a9859888ef04c561633a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128092 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/inc/sdr')
-rw-r--r--svx/inc/sdr/properties/attributeproperties.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/inc/sdr/properties/attributeproperties.hxx b/svx/inc/sdr/properties/attributeproperties.hxx
index 1aa45721436c..f542f75e9fc2 100644
--- a/svx/inc/sdr/properties/attributeproperties.hxx
+++ b/svx/inc/sdr/properties/attributeproperties.hxx
@@ -51,6 +51,9 @@ namespace sdr::properties
// react on ItemSet changes
virtual void ItemSetChanged(const SfxItemSet*) override;
+ // apply the correct SfyStyleSheet from SdrObject's SdrModel
+ virtual void applyDefaultStyleSheetFromSdrModel();
+
public:
// basic constructor
explicit AttributeProperties(SdrObject& rObj);