diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-29 10:01:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-29 10:02:38 +0000 |
commit | 836cd17fcd62677e3be2ccb1b7e633f8d12c313e (patch) | |
tree | 6e2783046938784147e3b621755705aa137c17d3 /svx/source/sdr | |
parent | 85071c6c7b120935b03926228916393a94aa5ef0 (diff) |
crashtesting: sync PageProperties::SetStyleSheet with GetStyleSheet
PageProperties::GetStyleSheet returns 0 so PageProperties::SetStyleSheet
should do nothing
Change-Id: If627ba3e31b14ff5178f45125f0ce6e4dbf93ec0
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/properties/pageproperties.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
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) ) |