incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 119933] Starbasic command FORMAT fails when changing accented character to ALL CAPS
Date Sun, 10 Jun 2012 16:30:42 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=119933

Ariel Constenla-Haile <arielch@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arielch@apache.org

--- Comment #4 from Ariel Constenla-Haile <arielch@apache.org> ---
The issue is that 

void SbxValue::Format( XubString& rRes, const XubString* pFmt ) const 

uses ToLowerAscii() and ToUpperAscii(), what obviously does not work with non
ASCII characters:


if( pFmt->EqualsIgnoreCaseAscii( VBAFORMAT_LOWERCASE ) )
{
    rRes = aStr.ToLowerAscii();
    return;
}
if( pFmt->EqualsIgnoreCaseAscii( VBAFORMAT_UPPERCASE ) )
{
    rRes = aStr.ToUpperAscii();
    return;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message