summaryrefslogtreecommitdiff
path: root/sw/source/uibase/web
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/web
parent2f88f0adf0f787ae1e1a2a5ac2156b347984fd4a (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
Diffstat (limited to 'sw/source/uibase/web')
-rw-r--r--sw/source/uibase/web/wgrfsh.cxx2
-rw-r--r--sw/source/uibase/web/wlistsh.cxx2
-rw-r--r--sw/source/uibase/web/wolesh.cxx2
-rw-r--r--sw/source/uibase/web/wtabsh.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/web/wgrfsh.cxx b/sw/source/uibase/web/wgrfsh.cxx
index 58a32bd39b27..5994df559fd5 100644
--- a/sw/source/uibase/web/wgrfsh.cxx
+++ b/sw/source/uibase/web/wgrfsh.cxx
@@ -56,7 +56,7 @@ SwWebGrfShell::SwWebGrfShell(SwView &_rView) :
SwGrfShell(_rView)
{
- SetName(OUString("Graphic"));
+ SetName("Graphic");
SetHelpId(SW_GRFSHELL);
}
diff --git a/sw/source/uibase/web/wlistsh.cxx b/sw/source/uibase/web/wlistsh.cxx
index e41c8ad5b8be..65397e033dad 100644
--- a/sw/source/uibase/web/wlistsh.cxx
+++ b/sw/source/uibase/web/wlistsh.cxx
@@ -49,7 +49,7 @@ TYPEINIT1(SwWebListShell,SwListShell)
SwWebListShell::SwWebListShell(SwView &_rView) :
SwListShell(_rView)
{
- SetName(OUString("List"));
+ SetName("List");
SetHelpId(SW_LISTSHELL);
}
diff --git a/sw/source/uibase/web/wolesh.cxx b/sw/source/uibase/web/wolesh.cxx
index 01c03a1c7255..d6afecc0ddc6 100644
--- a/sw/source/uibase/web/wolesh.cxx
+++ b/sw/source/uibase/web/wolesh.cxx
@@ -48,7 +48,7 @@ SwWebOleShell::SwWebOleShell(SwView &_rView) :
SwOleShell(_rView)
{
- SetName(OUString("Object"));
+ SetName("Object");
SetHelpId(SW_OLESHELL);
}
diff --git a/sw/source/uibase/web/wtabsh.cxx b/sw/source/uibase/web/wtabsh.cxx
index a50e56617ca7..f6578e83f6df 100644
--- a/sw/source/uibase/web/wtabsh.cxx
+++ b/sw/source/uibase/web/wtabsh.cxx
@@ -56,7 +56,7 @@ SwWebTableShell::SwWebTableShell(SwView &_rView) :
SwTableShell(_rView)
{
GetShell().UpdateTable();
- SetName(OUString("Table"));
+ SetName("Table");
SetHelpId(SW_TABSHELL);
}