diff options
-rw-r--r-- | sd/qa/unit/data/odp/pass/ooo72169-1.odp | bin | 0 -> 4740 bytes | |||
-rw-r--r-- | svx/inc/sdr/properties/pageproperties.hxx | 3 | ||||
-rw-r--r-- | svx/source/sdr/properties/pageproperties.cxx | 5 |
3 files changed, 8 insertions, 0 deletions
diff --git a/sd/qa/unit/data/odp/pass/ooo72169-1.odp b/sd/qa/unit/data/odp/pass/ooo72169-1.odp Binary files differnew file mode 100644 index 000000000000..7a024b8f83d4 --- /dev/null +++ b/sd/qa/unit/data/odp/pass/ooo72169-1.odp 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) ) |