diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-12 16:05:22 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-13 10:34:04 +0200 |
commit | 643e9001bff137b6e5a8784d9e1f25a51e0d1644 (patch) | |
tree | 68baa241b1305e3147c6a5ef58cf4a082f606940 | |
parent | 51b0200304c307c11f3878af0ed61d28e09f53bf (diff) |
Do not cast sal_Unicode separator to sal_Char
... living in an ASCII world?
Change-Id: I82912924420766734573a10b2e110fef6fcadd1c
Reviewed-on: https://gerrit.libreoffice.org/43343
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | connectivity/source/commontools/predicateinput.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx index 79ebda070cc6..06764a4f34ea 100644 --- a/connectivity/source/commontools/predicateinput.cxx +++ b/connectivity/source/commontools/predicateinput.cxx @@ -64,7 +64,7 @@ namespace dbtools sal_Unicode nReturn( _nFallback ); if ( !_rSeparator.isEmpty() ) - nReturn = static_cast< sal_Char >( _rSeparator[0] ); + nReturn = _rSeparator[0]; return nReturn; } |