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 /sc/source | |
parent | a4d460c5f38e4262a657e4919d093bcc722a7763 (diff) |
convert SFX_STYLESHEET_ constants to scoped enum
Change-Id: Iceba35cb058afa55374cf3cac70ed2207b7bc8b4
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/condformat/condformatdlgentry.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index a7ea722cd0f4..4a8160b3ffe8 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx @@ -446,7 +446,7 @@ void ScConditionFrmtEntry::Notify(SfxBroadcaster&, const SfxHint& rHint) return; sal_uInt16 nHint = pHint->GetHint(); - if(nHint == SFX_STYLESHEET_MODIFIED) + if(nHint == SfxStyleSheetHintId::MODIFIED) { if(!mbIsInStyleCreate) UpdateStyleList(maLbStyle, mpDoc); @@ -1273,7 +1273,7 @@ void ScDateFrmtEntry::Notify( SfxBroadcaster&, const SfxHint& rHint ) return; sal_uInt16 nHint = pHint->GetHint(); - if(nHint == SFX_STYLESHEET_MODIFIED) + if(nHint == SfxStyleSheetHintId::MODIFIED) { if(!mbIsInStyleCreate) UpdateStyleList(maLbStyle, mpDoc); diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index 4a9c0d7e8fb8..8e400290014e 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -1283,7 +1283,7 @@ void ScDocShell::NotifyStyle( const SfxStyleSheetHint& rHint ) if ( pStyle->GetFamily() == SFX_STYLE_FAMILY_PAGE ) { - if ( nId == SFX_STYLESHEET_MODIFIED ) + if ( nId == SfxStyleSheetHintId::MODIFIED ) { ScDocShellModificator aModificator( *this ); @@ -1323,7 +1323,7 @@ void ScDocShell::NotifyStyle( const SfxStyleSheetHint& rHint ) } else if ( pStyle->GetFamily() == SFX_STYLE_FAMILY_PARA ) { - if ( nId == SFX_STYLESHEET_MODIFIED) + if ( nId == SfxStyleSheetHintId::MODIFIED) { OUString aNewName = pStyle->GetName(); OUString aOldName = aNewName; |