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/htmlftn.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/htmlftn.cxx')
-rw-r--r-- | sw/source/filter/html/htmlftn.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx index b62fa4839ca1..94cf659f264c 100644 --- a/sw/source/filter/html/htmlftn.cxx +++ b/sw/source/filter/html/htmlftn.cxx @@ -190,7 +190,6 @@ void SwHTMLParser::InsertFootEndNote( const OUString& rName, sal_Bool bEndNote, pFootEndNoteImpl->sName = rName; if( pFootEndNoteImpl->sName.getLength() > 3 ) pFootEndNoteImpl->sName = pFootEndNoteImpl->sName.copy( 0, pFootEndNoteImpl->sName.getLength() - 3 ); - // TODO: ToUpperAscii??? pFootEndNoteImpl->sName = pFootEndNoteImpl->sName.toAsciiUpperCase(); pFootEndNoteImpl->bEndNote = bEndNote; pFootEndNoteImpl->bFixed = bFixed; @@ -233,14 +232,13 @@ void SwHTMLParser::DeleteFootEndNoteImpl() pFootEndNoteImpl = 0; } -SwNodeIndex *SwHTMLParser::GetFootEndNoteSection( const String& rName ) +SwNodeIndex *SwHTMLParser::GetFootEndNoteSection( const OUString& rName ) { SwNodeIndex *pStartNodeIdx = 0; if( pFootEndNoteImpl ) { - String aName( rName ); - aName.ToUpperAscii(); + OUString aName(rName.toAsciiUpperCase()); size_t nCount = pFootEndNoteImpl->aNames.size(); for(size_t i = 0; i < nCount; ++i) |