idl/source/objects/basobj.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit 254c13265f334be8a52627379bc393ca13fe6298 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Mar 23 07:35:01 2017 +0100 Use rtl::isAscii* instead of ctype.h is* (and fix passing plain char) Change-Id: I94b4cd3860b1b8740965373ee0b254a0415c8b4c diff --git a/idl/source/objects/basobj.cxx b/idl/source/objects/basobj.cxx index c3a6e0b431d3..4b49726a89ee 100644 --- a/idl/source/objects/basobj.cxx +++ b/idl/source/objects/basobj.cxx @@ -17,9 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> -#include <ctype.h> - +#include <rtl/character.hxx> #include <tools/debug.hxx> #include <basobj.hxx> @@ -49,7 +49,8 @@ void SvMetaObject::Back2Delimiter( SvStream & rOutStm ) char c = 0; rOutStm.ReadChar( c ); - while( isspace( c ) && rOutStm.Tell() != 1 ) + while( rtl::isAsciiWhiteSpace( static_cast<unsigned char>(c) ) + && rOutStm.Tell() != 1 ) { rOutStm.SeekRel( -2 ); rOutStm.ReadChar( c ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits