diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-16 14:25:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-22 10:28:39 +0200 |
commit | 8b98bc855d7436828553948a1d28d686848e139c (patch) | |
tree | d66dcf3d316e2694421d90f2694ba8de553811c3 /svx | |
parent | a4d460c5f38e4262a657e4919d093bcc722a7763 (diff) |
convert SFX_STYLESHEET_ constants to scoped enum
Change-Id: Iceba35cb058afa55374cf3cac70ed2207b7bc8b4
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/properties/attributeproperties.cxx | 10 | ||||
-rw-r--r-- | svx/source/sdr/properties/customshapeproperties.cxx | 4 | ||||
-rw-r--r-- | svx/source/sdr/properties/textproperties.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx index 51a71598e842..c4609c4fad79 100644 --- a/svx/source/sdr/properties/attributeproperties.cxx +++ b/svx/source/sdr/properties/attributeproperties.cxx @@ -531,19 +531,19 @@ namespace sdr switch(pStyleHint->GetHint()) { - case SFX_STYLESHEET_CREATED : + case SfxStyleSheetHintId::CREATED : { // cannot happen, nothing to do break; } - case SFX_STYLESHEET_MODIFIED : - case SFX_STYLESHEET_CHANGED : + case SfxStyleSheetHintId::MODIFIED : + case SfxStyleSheetHintId::CHANGED : { // notify change break; } - case SFX_STYLESHEET_ERASED : - case SFX_STYLESHEET_INDESTRUCTION : + case SfxStyleSheetHintId::ERASED : + case SfxStyleSheetHintId::INDESTRUCTION : { // Style needs to be exchanged SfxStyleSheet* pNewStSh = 0L; diff --git a/svx/source/sdr/properties/customshapeproperties.cxx b/svx/source/sdr/properties/customshapeproperties.cxx index 2c8b111136ad..3dd95d1ea784 100644 --- a/svx/source/sdr/properties/customshapeproperties.cxx +++ b/svx/source/sdr/properties/customshapeproperties.cxx @@ -219,8 +219,8 @@ namespace sdr { switch( pStyleHint->GetHint() ) { - case SFX_STYLESHEET_MODIFIED : - case SFX_STYLESHEET_CHANGED : + case SfxStyleSheetHintId::MODIFIED : + case SfxStyleSheetHintId::CHANGED : bRemoveRenderGeometry = true; break; }; diff --git a/svx/source/sdr/properties/textproperties.cxx b/svx/source/sdr/properties/textproperties.cxx index a62fb35fcfc7..7bb4e4af908b 100644 --- a/svx/source/sdr/properties/textproperties.cxx +++ b/svx/source/sdr/properties/textproperties.cxx @@ -600,7 +600,7 @@ namespace sdr const SfxStyleSheetHintExtended* pExtendedHint = dynamic_cast<const SfxStyleSheetHintExtended*>(&rHint); if(pExtendedHint - && SFX_STYLESHEET_MODIFIED == pExtendedHint->GetHint()) + && SfxStyleSheetHintId::MODIFIED == pExtendedHint->GetHint()) { OUString aOldName(pExtendedHint->GetOldName()); OUString aNewName(pExtendedHint->GetStyleSheet()->GetName()); |