From f05565193971376182db41c238b617c1463bd9d7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 10 Aug 2019 13:03:01 +0200 Subject: loplugin:stringconstant (macOS) Change-Id: Icb9d9e1cd21e2506e36fe40a3b93b6a2521a868c Reviewed-on: https://gerrit.libreoffice.org/77239 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/osx/DragSource.cxx | 2 +- vcl/osx/DropTarget.cxx | 2 +- vcl/osx/clipboard.cxx | 2 +- vcl/source/components/dtranscomp.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'vcl') 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 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 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 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 -- cgit