summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-01 09:57:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-01 13:19:04 +0200
commit664de5a816bdcb68ada087f99ef5a76139890fdf (patch)
tree30dca6260b95bf402930be3eb33766923182b1c1 /dtrans
parentf88160d640b3efe4ffdf8126795a56d25d83944d (diff)
loplugin:stringconstant (clang-cl)
Change-Id: Id1a82cea4444255fdb693e126b7571a406094624 Reviewed-on: https://gerrit.libreoffice.org/79916 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/generic/clipboardmanager.cxx2
-rw-r--r--dtrans/source/generic/generic_clipboard.cxx2
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx2
-rw-r--r--dtrans/source/win32/dnd/source.cxx2
-rw-r--r--dtrans/source/win32/dnd/target.cxx2
-rw-r--r--dtrans/source/win32/ftransl/ftransl.cxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/dtrans/source/generic/clipboardmanager.cxx b/dtrans/source/generic/clipboardmanager.cxx
index 0106cccd372a..0c5dd396fec9 100644
--- a/dtrans/source/generic/clipboardmanager.cxx
+++ b/dtrans/source/generic/clipboardmanager.cxx
@@ -48,7 +48,7 @@ ClipboardManager::~ClipboardManager()
OUString SAL_CALL ClipboardManager::getImplementationName( )
{
- return OUString(CLIPBOARDMANAGER_IMPLEMENTATION_NAME);
+ return CLIPBOARDMANAGER_IMPLEMENTATION_NAME;
}
sal_Bool SAL_CALL ClipboardManager::supportsService( const OUString& ServiceName )
diff --git a/dtrans/source/generic/generic_clipboard.cxx b/dtrans/source/generic/generic_clipboard.cxx
index d499591f343a..4fa49b3d5ebe 100644
--- a/dtrans/source/generic/generic_clipboard.cxx
+++ b/dtrans/source/generic/generic_clipboard.cxx
@@ -56,7 +56,7 @@ void SAL_CALL GenericClipboard::initialize( const Sequence< Any >& aArguments )
OUString SAL_CALL GenericClipboard::getImplementationName( )
{
- return OUString(GENERIC_CLIPBOARD_IMPLEMENTATION_NAME);
+ return GENERIC_CLIPBOARD_IMPLEMENTATION_NAME;
}
sal_Bool SAL_CALL GenericClipboard::supportsService( const OUString& ServiceName )
diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx
index 3963fa48b289..919065a9f2fc 100644
--- a/dtrans/source/win32/clipb/WinClipboard.cxx
+++ b/dtrans/source/win32/clipb/WinClipboard.cxx
@@ -223,7 +223,7 @@ void SAL_CALL CWinClipboard::disposing()
OUString SAL_CALL CWinClipboard::getImplementationName( )
{
- return OUString( WINCLIPBOARD_IMPL_NAME );
+ return WINCLIPBOARD_IMPL_NAME;
}
sal_Bool SAL_CALL CWinClipboard::supportsService( const OUString& ServiceName )
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index f02bd9b784e8..c797684d233c 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -278,7 +278,7 @@ dwEffect
// XServiceInfo
OUString SAL_CALL DragSource::getImplementationName( )
{
- return OUString(DNDSOURCE_IMPL_NAME);
+ return DNDSOURCE_IMPL_NAME;
}
// XServiceInfo
sal_Bool SAL_CALL DragSource::supportsService( const OUString& ServiceName )
diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx
index c517079897d9..4ab0b0a22428 100644
--- a/dtrans/source/win32/dnd/target.cxx
+++ b/dtrans/source/win32/dnd/target.cxx
@@ -248,7 +248,7 @@ DWORD WINAPI DndTargetOleSTAFunc(LPVOID pParams)
// XServiceInfo
OUString SAL_CALL DropTarget::getImplementationName( )
{
- return OUString(DNDTARGET_IMPL_NAME);
+ return DNDTARGET_IMPL_NAME;
}
// XServiceInfo
sal_Bool SAL_CALL DropTarget::supportsService( const OUString& ServiceName )
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx
index 8293e22a8cd8..4cc1897059a3 100644
--- a/dtrans/source/win32/ftransl/ftransl.cxx
+++ b/dtrans/source/win32/ftransl/ftransl.cxx
@@ -530,7 +530,7 @@ DataFlavor SAL_CALL CDataFormatTranslatorUNO::getDataFlavorFromSystemDataType( c
OUString SAL_CALL CDataFormatTranslatorUNO::getImplementationName( )
{
- return OUString( IMPL_NAME );
+ return IMPL_NAME;
}
sal_Bool SAL_CALL CDataFormatTranslatorUNO::supportsService( const OUString& ServiceName )