diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-29 20:44:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-30 11:39:01 +0100 |
commit | 74929bba736cc6cceed3c088e13f5952abb1bd2b (patch) | |
tree | 8a026d95bc586ca6a41686dee32dfa53b659b252 /sw/source/filter/html/htmlcss1.cxx | |
parent | fc7e7b683112e9ccd23104f38d4acc3417e9d5b8 (diff) |
Related: fdo#38838 remove UniString::ToUpperAscii
things got a little out of hand and I ended up
converting quite a bit of calc to OUString
Change-Id: I056326d37ffefa8c120cb2e564d166dd9f20f216
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index 13bc28a27662..8d31718b51aa 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -1949,12 +1949,11 @@ sal_Bool SwHTMLParser::ParseStyleOptions( const String &rStyle, } if( pDir && pDir->Len() ) { - String aValue( *pDir ); - aValue.ToUpperAscii(); + OUString aValue( *pDir ); SvxFrameDirection eDir = FRMDIR_ENVIRONMENT; - if( aValue.EqualsAscii( "LTR" ) ) + if (aValue.equalsIgnoreAsciiCase("LTR")) eDir = FRMDIR_HORI_LEFT_TOP; - else if( aValue.EqualsAscii( "RTL" ) ) + else if (aValue.equalsIgnoreAsciiCase("RTL")) eDir = FRMDIR_HORI_RIGHT_TOP; if( FRMDIR_ENVIRONMENT != eDir ) |