summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-04-24 11:01:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-24 12:45:22 +0200
commitdba55c304a330a355147a39e53ec4c7cf5c5c3f5 (patch)
treedab1da47f32006f6d4362f492f0c8d6255737b5d /lotuswordpro
parent8505d29d61a76ffa506be0dc86fe2ec7ed647483 (diff)
loplugin:unnecessarygetstr extend to createFromAscii
idea from mike kaganski Change-Id: I0ecb9cad091d7a048d2ddae73165bf22748f3872 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150907 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/xfilter/xfutil.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfutil.cxx b/lotuswordpro/source/filter/xfilter/xfutil.cxx
index dd212b21a64d..b396f2f6f1d3 100644
--- a/lotuswordpro/source/filter/xfilter/xfutil.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfutil.cxx
@@ -69,7 +69,7 @@ OUString GetTableColName(sal_Int32 col)
{
ch = 'A' + col -1;
strOut += ch;
- return OUString::createFromAscii(strOut.c_str());
+ return OUString::createFromAscii(strOut);
}
while( col>26 )
@@ -82,7 +82,7 @@ OUString GetTableColName(sal_Int32 col)
ch = 'A' + remain -1;
strOut += ch;
- return OUString::createFromAscii(strOut.c_str());
+ return OUString::createFromAscii(strOut);
}
//tool functions: