summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textsh.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:37:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:37:55 +0100
commit42cf4f9a2700e5d8ba5f551be2355cb827f4c5bf (patch)
tree774156f03d654c4df3e368fe10c94b5a086a7ddd /sw/source/uibase/shells/textsh.cxx
parent2f88f0adf0f787ae1e1a2a5ac2156b347984fd4a (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
Diffstat (limited to 'sw/source/uibase/shells/textsh.cxx')
-rw-r--r--sw/source/uibase/shells/textsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index 0c254c7b2fa2..8c65f71359fd 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -928,7 +928,7 @@ void SwTextShell::ExecRotateTransliteration( SfxRequest & rReq )
SwTextShell::SwTextShell(SwView &_rView) :
SwBaseShell(_rView), pPostItFieldMgr( 0 )
{
- SetName(OUString("Text"));
+ SetName("Text");
SetHelpId(SW_TEXTSHELL);
SfxShell::SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_Text));
}