summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-02-20 00:21:37 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-24 12:59:02 +0000
commit63b0ce97ba0f71c28a7880c741100b0240332e74 (patch)
tree9589db9bb4fd6e27acd750a549f7df71a169b928 /starmath
parent3648c3226d369ce7a547e48f824b876180559476 (diff)
fdo#38838 searched, replaced and removed String::CreateFromInt32().
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index b911b5f4a890..2aa85599f99b 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -1848,7 +1848,7 @@ sal_Bool MathType::HandleSize(sal_Int16 nLstSize,sal_Int16 nDefSize, int &rSetSi
{
nLastSize = nCurSize;
APPEND(rRet," size ");
- rRet += String::CreateFromInt32(-nLstSize/32);
+ rRet += OUString::number(-nLstSize/32);
rRet += '{';
bRet=true;
rSetSize++;
@@ -1877,7 +1877,7 @@ sal_Bool MathType::HandleSize(sal_Int16 nLstSize,sal_Int16 nDefSize, int &rSetSi
{
nLastSize = nCurSize;
APPEND(rRet," size ");
- rRet += String::CreateFromInt32(nLstSize);
+ rRet += OUString::number(nLstSize);
rRet += '{';
bRet=true;
rSetSize++;