[Libreoffice-commits] core.git: sc/source
Noel Grandin
noel at peralex.com
Mon Aug 3 23:50:57 PDT 2015
sc/source/core/tool/interpr7.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9e6b501833d4e45ba0239d1adf4911f140304569
Author: Noel Grandin <noel at peralex.com>
Date: Tue Aug 4 08:49:59 2015 +0200
sal_uChar is deprecated
Change-Id: I073dde24498b2a0f3f6edd3d502134a25dfac71c
diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index d96d2b1..822e9e2 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -231,12 +231,12 @@ void ScInterpreter::ScEncodeURL()
for ( int i = 0; i < nLen; i++ )
{
sal_Char c = aUtf8Str[ i ];
- if ( rtl::isAsciiAlphanumeric( static_cast<sal_uChar>( c ) ) || c == '-' || c == '_' )
+ if ( rtl::isAsciiAlphanumeric( static_cast<unsigned char>( c ) ) || c == '-' || c == '_' )
aUrlBuf.append( c );
else
{
aUrlBuf.append( '%' );
- aUrlBuf.append( OString::number( static_cast<sal_uChar>( c ), 16 ).toAsciiUpperCase() );
+ aUrlBuf.append( OString::number( static_cast<unsigned char>( c ), 16 ).toAsciiUpperCase() );
}
}
PushString( OUString::fromUtf8( aUrlBuf.makeStringAndClear() ) );
More information about the Libreoffice-commits
mailing list