summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx4
-rw-r--r--sc/source/ui/docshell/docsh4.cxx4
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;