summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-16 14:25:53 +0200
committerNoel Grandin <noel@peralex.com>2015-04-22 10:28:39 +0200
commit8b98bc855d7436828553948a1d28d686848e139c (patch)
treed66dcf3d316e2694421d90f2694ba8de553811c3 /svx/source
parenta4d460c5f38e4262a657e4919d093bcc722a7763 (diff)
convert SFX_STYLESHEET_ constants to scoped enum
Change-Id: Iceba35cb058afa55374cf3cac70ed2207b7bc8b4
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/sdr/properties/attributeproperties.cxx10
-rw-r--r--svx/source/sdr/properties/customshapeproperties.cxx4
-rw-r--r--svx/source/sdr/properties/textproperties.cxx2
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());