diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-16 11:18:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-16 11:18:40 +0200 |
commit | 0f06a4fdad74346ef9a69142d43a147f9e8243b4 (patch) | |
tree | 6eff6695e482dd33647ab912f4e6abf76183091e /editeng | |
parent | loplugin:stringstatic (diff) | |
download | core-0f06a4fdad74346ef9a69142d43a147f9e8243b4.tar.gz core-0f06a4fdad74346ef9a69142d43a147f9e8243b4.zip |
loplugin:stringstatic
Change-Id: I89cbdf1b831818e7d72b5f9b6334df35a35d4f9f
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleContextBase.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx index c2b0d00c7c8c..f93e4437bab5 100644 --- a/editeng/source/accessibility/AccessibleContextBase.cxx +++ b/editeng/source/accessibility/AccessibleContextBase.cxx @@ -435,11 +435,9 @@ uno::Sequence< OUString > SAL_CALL throw (css::uno::RuntimeException, std::exception) { ThrowIfDisposed (); - static const OUString sServiceNames[2] = { - OUString("com.sun.star.accessibility.Accessible"), - OUString("com.sun.star.accessibility.AccessibleContext") - }; - return uno::Sequence<OUString> (sServiceNames, 2); + return { + "com.sun.star.accessibility.Accessible", + "com.sun.star.accessibility.AccessibleContext"}; } |