diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-03-30 09:36:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-30 12:21:40 +0000 |
commit | da56de9ac4824eb365af20b351719395e725be39 (patch) | |
tree | f19ad159f5e12b9e62b2ee50f39016819b7a7c5c /scripting | |
parent | 8d1a56c206e5c2ed6c331049198bb8ebc6176171 (diff) |
remove type decorations on char literals
they are only needed where type deduction fails.
left them in defines for now.
Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09
Reviewed-on: https://gerrit.libreoffice.org/35893
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/basprov/basprov.cxx | 6 | ||||
-rw-r--r-- | scripting/source/dlgprov/dlgprov.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx index 4f7fa850df14..a66367c7382f 100644 --- a/scripting/source/basprov/basprov.cxx +++ b/scripting/source/basprov/basprov.cxx @@ -331,13 +331,13 @@ namespace basprov nIndex = sProjectName.getLength() + 1; } else - aLibrary = aDescription.getToken( 0, (sal_Unicode)'.', nIndex ); + aLibrary = aDescription.getToken( 0, '.', nIndex ); OUString aModule; if ( nIndex != -1 ) - aModule = aDescription.getToken( 0, (sal_Unicode)'.', nIndex ); + aModule = aDescription.getToken( 0, '.', nIndex ); OUString aMethod; if ( nIndex != -1 ) - aMethod = aDescription.getToken( 0, (sal_Unicode)'.', nIndex ); + aMethod = aDescription.getToken( 0, '.', nIndex ); if ( !aLibrary.isEmpty() && !aModule.isEmpty() && !aMethod.isEmpty() && !aLocation.isEmpty() ) { diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx index ccfd78801965..49c640503947 100644 --- a/scripting/source/dlgprov/dlgprov.cxx +++ b/scripting/source/dlgprov/dlgprov.cxx @@ -308,10 +308,10 @@ namespace dlgprov sal_Int32 nIndex = 0; - OUString sLibName = sDescription.getToken( 0, (sal_Unicode)'.', nIndex ); + OUString sLibName = sDescription.getToken( 0, '.', nIndex ); OUString sDlgName; if ( nIndex != -1 ) - sDlgName = sDescription.getToken( 0, (sal_Unicode)'.', nIndex ); + sDlgName = sDescription.getToken( 0, '.', nIndex ); OUString sLocation = sfUri->getParameter( "location" ); |