summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc/redlndlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 16:39:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-23 11:04:42 +0200
commitbd6fb0cd3eee3c7d414e55a7678c0097aadc7646 (patch)
tree5f754d7e485ab31dd4e04782b8eccd50d854d91e /sw/source/uibase/misc/redlndlg.cxx
parent3501c52176d1122d9de08462435f633cd21de370 (diff)
Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String
...in include files. This is a mix of automatic rewriting in include files and manual fixups (mostly addressing loplugin:redundantfcast) in source files that include those. Change-Id: I1f3cc1e67b9cabd2e9d61a4d9e9a01e587ea35cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158337 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/misc/redlndlg.cxx')
-rw-r--r--sw/source/uibase/misc/redlndlg.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx
index 0f4b43006ea2..b68bacbbef5c 100644
--- a/sw/source/uibase/misc/redlndlg.cxx
+++ b/sw/source/uibase/misc/redlndlg.cxx
@@ -320,22 +320,22 @@ OUString SwRedlineAcceptDlg::GetActionImage(const SwRangeRedline& rRedln, sal_uI
{
case RedlineType::Insert: return bTableChanges
? bRowChanges
- ? OUString(BMP_REDLINE_ROW_INSERTION)
- : OUString(BMP_REDLINE_COL_INSERTION)
+ ? BMP_REDLINE_ROW_INSERTION
+ : BMP_REDLINE_COL_INSERTION
: rRedln.IsMoved()
- ? OUString(BMP_REDLINE_MOVED_INSERTION)
+ ? BMP_REDLINE_MOVED_INSERTION
: rRedln.IsAnnotation()
- ? OUString(BMP_REDLINE_COMMENT_INSERTION)
- : OUString(BMP_REDLINE_INSERTED);
+ ? BMP_REDLINE_COMMENT_INSERTION
+ : BMP_REDLINE_INSERTED;
case RedlineType::Delete: return bTableChanges
? bRowChanges
- ? OUString(BMP_REDLINE_ROW_DELETION)
- : OUString(BMP_REDLINE_COL_DELETION)
+ ? BMP_REDLINE_ROW_DELETION
+ : BMP_REDLINE_COL_DELETION
: rRedln.IsMoved()
- ? OUString(BMP_REDLINE_MOVED_DELETION)
+ ? BMP_REDLINE_MOVED_DELETION
: rRedln.IsAnnotation()
- ? OUString(BMP_REDLINE_COMMENT_DELETION)
- : OUString(BMP_REDLINE_DELETED);
+ ? BMP_REDLINE_COMMENT_DELETION
+ : BMP_REDLINE_DELETED;
case RedlineType::Format: return BMP_REDLINE_FORMATTED;
case RedlineType::ParagraphFormat: return BMP_REDLINE_FORMATTED;
case RedlineType::Table: return BMP_REDLINE_TABLECHG;