summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
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 /sc/source/ui/docshell
parenta4d460c5f38e4262a657e4919d093bcc722a7763 (diff)
convert SFX_STYLESHEET_ constants to scoped enum
Change-Id: Iceba35cb058afa55374cf3cac70ed2207b7bc8b4
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx4
1 files changed, 2 insertions, 2 deletions
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;