tdf#127481 don't override SdrText::GetItemSet() for cells

No point in overriding GetItemSet() with behaviour similar to parent
class (but less robustly so).

Change-Id: I2bdff44bfded0a5fa272964b4e0671cacb125f06
Reviewed-on: https://gerrit.libreoffice.org/85148
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
This commit is contained in:
Thorsten Behrens
2019-12-15 21:08:16 +01:00
parent 38eadf6d56
commit 4ddd76a732
2 changed files with 0 additions and 7 deletions
-1
View File
@@ -76,7 +76,6 @@ public:
SVX_DLLPRIVATE virtual SfxStyleSheet* GetStyleSheet() const override;
SVX_DLLPRIVATE void TakeTextAnchorRect(tools::Rectangle& rAnchorRect) const;
SVX_DLLPRIVATE virtual const SfxItemSet& GetItemSet() const override;
SVX_DLLPRIVATE void SetMergedItemSetAndBroadcast(const SfxItemSet& rSet, bool bClearAllItems);
void SetMergedItem(const SfxPoolItem& rItem);
-6
View File
@@ -698,12 +698,6 @@ void Cell::TakeTextAnchorRect(tools::Rectangle& rAnchorRect) const
}
const SfxItemSet& Cell::GetItemSet() const
{
return mpProperties->GetObjectItemSet();
}
void Cell::SetMergedItemSetAndBroadcast(const SfxItemSet& rSet, bool bClearAllItems)
{
if( mpProperties )