summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/stringstatic.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-16 17:14:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-17 16:12:02 +0000
commit83d2c5180d255532b7cdf5d2922fee1cf056eef3 (patch)
tree7a58db4a6723008afe96e17185a69aa17a864e1f /compilerplugins/clang/stringstatic.cxx
parent87707670c993794ab12b0fad0f048f11429269c2 (diff)
Adapt to no-longer explicit OUStringLiteral ctor
...from previous commit Change-Id: I062b7cd212c17e7eb5274476e6859228d0477c7f Reviewed-on: https://gerrit.libreoffice.org/32098 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins/clang/stringstatic.cxx')
-rw-r--r--compilerplugins/clang/stringstatic.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/compilerplugins/clang/stringstatic.cxx b/compilerplugins/clang/stringstatic.cxx
index 9bcb37263dff..d251ed874c58 100644
--- a/compilerplugins/clang/stringstatic.cxx
+++ b/compilerplugins/clang/stringstatic.cxx
@@ -14,9 +14,7 @@
/** Look for static OUString and OUString[], they can be more effeciently declared as:
- static const OUStringLiteral our_aLBEntryMap[] = {
- OUStringLiteral(" "),
- OUStringLiteral(", ")};
+ static const OUStringLiteral our_aLBEntryMap[] = {" ", ", "};
static const OUStringLiteral sName("name");
which is more efficient at startup time.