diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/sdr/properties/pageproperties.hxx | 3 | ||||
-rw-r--r-- | svx/source/sdr/properties/pageproperties.cxx | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/svx/inc/sdr/properties/pageproperties.hxx b/svx/inc/sdr/properties/pageproperties.hxx index c6e9d303856d..5df093a2617f 100644 --- a/svx/inc/sdr/properties/pageproperties.hxx +++ b/svx/inc/sdr/properties/pageproperties.hxx @@ -59,6 +59,9 @@ namespace sdr // get the installed StyleSheet virtual SfxStyleSheet* GetStyleSheet() const override; + // set the installed StyleSheet + virtual void SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAttr) override; + // clear single item virtual void ClearObjectItem(const sal_uInt16 nWhich = 0) override; }; diff --git a/svx/source/sdr/properties/pageproperties.cxx b/svx/source/sdr/properties/pageproperties.cxx index 20758b0f24ed..2250aa2156de 100644 --- a/svx/source/sdr/properties/pageproperties.cxx +++ b/svx/source/sdr/properties/pageproperties.cxx @@ -79,6 +79,11 @@ namespace sdr return nullptr; } + void PageProperties::SetStyleSheet(SfxStyleSheet* /*pStyleSheet*/, bool /*bDontRemoveHardAttr*/) + { + // override to legally ignore the StyleSheet here + } + void PageProperties::PostItemChange(const sal_uInt16 nWhich ) { if( (nWhich == XATTR_FILLSTYLE) && (mpEmptyItemSet != nullptr) ) |