summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textfld.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-22 14:36:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-23 11:11:11 +0200
commit28bff4bd3947f442c0aebb92217cd0c7b6a53bda (patch)
treecfa5cf6199774bc9decd07e286d4e4182f1590d3 /sw/source/uibase/shells/textfld.cxx
parentbe6227b6c8d6ffacb7168e76856c7e059c08bf77 (diff)
convert nsRedlineType_t to scoped enum
and move the auto-format embedded flag to a separate field Change-Id: I02155702389178fbfdf874f592d47a29f8759974 Reviewed-on: https://gerrit.libreoffice.org/72771 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/shells/textfld.cxx')
-rw-r--r--sw/source/uibase/shells/textfld.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx
index 0f02926035a5..a71969f6acfb 100644
--- a/sw/source/uibase/shells/textfld.cxx
+++ b/sw/source/uibase/shells/textfld.cxx
@@ -87,20 +87,20 @@ static OUString lcl_BuildTitleWithRedline( const SwRangeRedline *pRedline )
const char* pResId = nullptr;
switch( pRedline->GetType() )
{
- case nsRedlineType_t::REDLINE_INSERT:
+ case RedlineType::Insert:
pResId = STR_REDLINE_INSERTED;
break;
- case nsRedlineType_t::REDLINE_DELETE:
+ case RedlineType::Delete:
pResId = STR_REDLINE_DELETED;
break;
- case nsRedlineType_t::REDLINE_FORMAT:
- case nsRedlineType_t::REDLINE_PARAGRAPH_FORMAT:
+ case RedlineType::Format:
+ case RedlineType::ParagraphFormat:
pResId = STR_REDLINE_FORMATTED;
break;
- case nsRedlineType_t::REDLINE_TABLE:
+ case RedlineType::Table:
pResId = STR_REDLINE_TABLECHG;
break;
- case nsRedlineType_t::REDLINE_FMTCOLL:
+ case RedlineType::FmtColl:
pResId = STR_REDLINE_FMTCOLLSET;
break;
default: