diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-26 20:45:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-27 09:45:57 +0000 |
commit | b36d555440b86d8293b188e4d99ec8682a2139a5 (patch) | |
tree | 85fba385e1c021c3b2d86bc8922c5980b4abe9ff /starmath | |
parent | d6100ba273e7d73cc4b00a378ce5bad49559943b (diff) |
drop UniString::CreateFromInt64
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/dialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 33feb52ed13f..acf8c5f44b5c 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1869,7 +1869,7 @@ IMPL_LINK( SmSymDefineDialog, CharHighlightHdl, Control *, EMPTYARG ) UpdateButtons(); // display Unicode position as symbol name while iterating over characters - const String aHex( String::CreateFromInt64( cChar, 16 ).ToUpperAscii() ); + const String aHex(rtl::OUString::valueOf(static_cast<sal_Int64>(cChar), 16 ).toAsciiUpperCase()); const String aPattern( A2OU( aHex.Len() > 4 ? "Ux000000" : "Ux0000" ) ); String aUnicodePos( aPattern.Copy( 0, aPattern.Len() - aHex.Len() ) ); aUnicodePos += aHex; |