diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 09:57:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 13:19:04 +0200 |
commit | 664de5a816bdcb68ada087f99ef5a76139890fdf (patch) | |
tree | 30dca6260b95bf402930be3eb33766923182b1c1 /dtrans/source/win32 | |
parent | f88160d640b3efe4ffdf8126795a56d25d83944d (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/source/win32')
-rw-r--r-- | dtrans/source/win32/clipb/WinClipboard.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/dnd/source.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/dnd/target.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/ftransl/ftransl.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
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 ) |