diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-06 21:19:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-07 11:11:59 +0100 |
commit | c52aa97b988aeeb16d1eb21262889f565b8a72a3 (patch) | |
tree | b9525f57c24bba13e6a33a2c5a851b3d1af4375e /svx/source/sdr/properties/emptyproperties.cxx | |
parent | 81ccab11ff457786c3877e7b0047d08685493d3c (diff) |
move some methods BaseProperties->DefaultProperties
These methods are part of the implementation of DefaultProperties,
so they do not belong in a superclass
Change-Id: I553f5d5b771aa0a408a8ade25f009cc56f829c72
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128091
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/sdr/properties/emptyproperties.cxx')
-rw-r--r-- | svx/source/sdr/properties/emptyproperties.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/svx/source/sdr/properties/emptyproperties.cxx b/svx/source/sdr/properties/emptyproperties.cxx index 42af61012a8a..d8e13d47a410 100644 --- a/svx/source/sdr/properties/emptyproperties.cxx +++ b/svx/source/sdr/properties/emptyproperties.cxx @@ -26,14 +26,6 @@ namespace sdr::properties { - // create a new itemset - SfxItemSet EmptyProperties::CreateObjectSpecificItemSet(SfxItemPool& ) - { - // Basic implementation; Basic object has NO attributes - assert(!"EmptyProperties::CreateObjectSpecificItemSet() should never be called"); - abort(); - } - EmptyProperties::EmptyProperties(SdrObject& rObj) : BaseProperties(rObj) { @@ -75,27 +67,6 @@ namespace sdr::properties assert(!"EmptyProperties::SetObjectItemSet() should never be called"); } - void EmptyProperties::ItemSetChanged(const SfxItemSet* /*pSet*/) - { - assert(!"EmptyProperties::ItemSetChanged() should never be called"); - } - - bool EmptyProperties::AllowItemChange(const sal_uInt16 /*nWhich*/, const SfxPoolItem* /*pNewItem*/) const - { - assert(!"EmptyProperties::AllowItemChange() should never be called"); - return true; - } - - void EmptyProperties::ItemChange(const sal_uInt16 /*nWhich*/, const SfxPoolItem* /*pNewItem*/) - { - assert(!"EmptyProperties::ItemChange() should never be called"); - } - - void EmptyProperties::PostItemChange(const sal_uInt16 /*nWhich*/) - { - assert(!"EmptyProperties::PostItemChange() should never be called"); - } - void EmptyProperties::SetStyleSheet(SfxStyleSheet* /*pNewStyleSheet*/, bool /*bDontRemoveHardAttr*/) { assert(!"EmptyProperties::SetStyleSheet() should never be called"); |