diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-05-01 21:10:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-02 12:15:50 +0200 |
commit | dbcf188d39ff70ac87312dd28444df97e3cea993 (patch) | |
tree | 70eeb54ec9fc1d459c2f13c8a3e10348936b5ffe /svx/inc | |
parent | 7a1f2f0b9906228ce970d48fef29dd25cd4cc55b (diff) |
remove unnecessary method
the call to GetObjectItemSet() in
OleProperties::ForceDefaultAttributes() is unnecessary, because
it is always called before ForceDefaultAttributes is called, and
having removed that, the rest of the method becomes unnecessary too.
Change-Id: Ibb09020837d47cb9eb1fb8b5deca1defc1465108
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151237
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/sdr/properties/oleproperties.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svx/inc/sdr/properties/oleproperties.hxx b/svx/inc/sdr/properties/oleproperties.hxx index abd321ba7cdf..2a35c3ad0ec4 100644 --- a/svx/inc/sdr/properties/oleproperties.hxx +++ b/svx/inc/sdr/properties/oleproperties.hxx @@ -42,10 +42,6 @@ namespace sdr::properties // Clone() operator, normally just calls the local copy constructor virtual std::unique_ptr<BaseProperties> Clone(SdrObject& rObj) const override; - - // force default attributes for a specific object type, called from - // DefaultProperties::GetObjectItemSet() if a new ItemSet is created - virtual void ForceDefaultAttributes() override; }; } // end of namespace sdr::properties |