diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-09-21 22:21:08 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-10-03 13:27:05 +0200 |
commit | baf402008a18031f7a22a60ada85c3a5afa1b2a3 (patch) | |
tree | 051f5dc4801b61d43cdee39cc23bec5aeb24976f | |
parent | b6969634082730e25f99e1e0d7b900cf57a25a0a (diff) |
display paragraph format redline also as 'formats' rather than empty string
Change-Id: I5ae5ce80fdb453fdf5de54c691de4cd0b88ad7f6
-rw-r--r-- | sw/source/uibase/misc/redlndlg.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/textfld.cxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index bb55453f770b..ae71c2c8bfd2 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -337,6 +337,7 @@ OUString SwRedlineAcceptDlg::GetActionText(const SwRangeRedline& rRedln, sal_uIn case nsRedlineType_t::REDLINE_INSERT: return sInserted; case nsRedlineType_t::REDLINE_DELETE: return sDeleted; case nsRedlineType_t::REDLINE_FORMAT: return sFormated; + case nsRedlineType_t::REDLINE_PARAGRAPH_FORMAT: return sFormated; case nsRedlineType_t::REDLINE_TABLE: return sTableChgd; case nsRedlineType_t::REDLINE_FMTCOLL: return sFmtCollSet; default:;//prevent warning @@ -1089,6 +1090,7 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, CommandHdl) nResId = STR_REDLINE_DELETED; break; case nsRedlineType_t::REDLINE_FORMAT: + case nsRedlineType_t::REDLINE_PARAGRAPH_FORMAT: nResId = STR_REDLINE_FORMATED; break; case nsRedlineType_t::REDLINE_TABLE: diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx index 4bc5c14e18d0..09decb8803bc 100644 --- a/sw/source/uibase/shells/textfld.cxx +++ b/sw/source/uibase/shells/textfld.cxx @@ -90,6 +90,7 @@ static OUString lcl_BuildTitleWithRedline( const SwRangeRedline *pRedline ) nResId = STR_REDLINE_DELETED; break; case nsRedlineType_t::REDLINE_FORMAT: + case nsRedlineType_t::REDLINE_PARAGRAPH_FORMAT: nResId = STR_REDLINE_FORMATED; break; case nsRedlineType_t::REDLINE_TABLE: |