diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:42:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:42:31 +0100 |
commit | 93360085da04841fc7f48980acb37a26d6c5a174 (patch) | |
tree | 37de14570f556d53d32bc319495044bdf44b6493 /forms | |
parent | e665ecfc32fc8be96d8b2318c881da288b007c52 (diff) |
Use rtl::isAscii* instead of ctype.h is* with sal_Unicode arg
Change-Id: I2bc0cff65b1bacc041106406cd98c632eafeec51
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 40707db7f974..a98e62422f0e 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -901,7 +901,8 @@ void ODatabaseForm::Encode( OUString& rString ) nCharCode = rString[nCurPos]; // Handle chars, which are not an alphanumeric character and character codes > 127 - if( (!isalnum(nCharCode) && nCharCode != ' ') || nCharCode > 127 ) + if( (!rtl::isAsciiAlphanumeric(nCharCode) && nCharCode != ' ') + || nCharCode > 127 ) { switch( nCharCode ) { |