diff options
Diffstat (limited to 'sc/source/ui/unoobj/textuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/textuno.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index 74e1967f317c..5d61fd03794b 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -1022,15 +1022,15 @@ void ScCellTextData::Notify( SfxBroadcaster&, const SfxHint& rHint ) } else { - const sal_uInt32 nId = rHint.GetId(); - if ( nId == SFX_HINT_DYING ) + const SfxHintId nId = rHint.GetId(); + if ( nId == SfxHintId::Dying ) { pDocShell = nullptr; // invalid now DELETEZ( pForwarder ); DELETEZ( pEditEngine ); // EditEngine uses document's pool } - else if ( nId == SFX_HINT_DATACHANGED ) + else if ( nId == SfxHintId::DataChanged ) { if (!bInUpdate) // not for own UpdateData calls bDataValid = false; // text has to be read from the cell again |