diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-08-10 13:03:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-08-10 16:49:53 +0200 |
commit | f05565193971376182db41c238b617c1463bd9d7 (patch) | |
tree | 15bfcdbe47f1d6a9bf26ba230c50c84c9d956231 /vcl | |
parent | 80042cc0e9786fe8dcabe0b8f106183f8df19355 (diff) |
loplugin:stringconstant (macOS)
Change-Id: Icb9d9e1cd21e2506e36fe40a3b93b6a2521a868c
Reviewed-on: https://gerrit.libreoffice.org/77239
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/osx/DragSource.cxx | 2 | ||||
-rw-r--r-- | vcl/osx/DropTarget.cxx | 2 | ||||
-rw-r--r-- | vcl/osx/clipboard.cxx | 2 | ||||
-rw-r--r-- | vcl/source/components/dtranscomp.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx index 6203152829eb..331a262dbc91 100644 --- a/vcl/osx/DragSource.cxx +++ b/vcl/osx/DragSource.cxx @@ -56,7 +56,7 @@ bool DragSource::g_DropSuccess = false; static OUString dragSource_getImplementationName() { - return OUString("com.sun.star.comp.datatransfer.dnd.OleDragSource_V1"); + return "com.sun.star.comp.datatransfer.dnd.OleDragSource_V1"; } static Sequence<OUString> dragSource_getSupportedServiceNames() diff --git a/vcl/osx/DropTarget.cxx b/vcl/osx/DropTarget.cxx index 9f59043eeb66..9ad57085e35c 100644 --- a/vcl/osx/DropTarget.cxx +++ b/vcl/osx/DropTarget.cxx @@ -46,7 +46,7 @@ using namespace comphelper; static OUString dropTarget_getImplementationName() { - return OUString("com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1"); + return "com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1"; } static Sequence<OUString> dropTarget_getSupportedServiceNames() diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx index 8656fe8c6575..58559e174272 100644 --- a/vcl/osx/clipboard.cxx +++ b/vcl/osx/clipboard.cxx @@ -61,7 +61,7 @@ using namespace css; static OUString clipboard_getImplementationName() { - return OUString("com.sun.star.datatransfer.clipboard.AquaClipboard"); + return "com.sun.star.datatransfer.clipboard.AquaClipboard"; } static uno::Sequence<OUString> clipboard_getSupportedServiceNames() diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx index 5a2f146cca6c..2952eff97012 100644 --- a/vcl/source/components/dtranscomp.cxx +++ b/vcl/source/components/dtranscomp.cxx @@ -315,7 +315,7 @@ Sequence< OUString > DragSource_getSupportedServiceNames() OUString DragSource_getImplementationName() { #if defined MACOSX - return OUString("com.sun.star.comp.datatransfer.dnd.OleDragSource_V1"); + return "com.sun.star.comp.datatransfer.dnd.OleDragSource_V1"; #elif defined UNX return "com.sun.star.datatransfer.dnd.XdndSupport"; #else |