summaryrefslogtreecommitdiff
path: root/include/osl/profile.hxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-09-11 22:05:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-12 13:36:42 +0200
commit04203a26757d26814a18c3251d1a97f6ded64a62 (patch)
tree80962f43d3b46e8670ad49068a1a6e8459c22f39 /include/osl/profile.hxx
parent05d5062dca095f2e53de26db41edeb0b1279138b (diff)
Replace remaining uses of sal_Char
+ remove sal_Char check on compilerplugins Change-Id: I0f7da14e620f0c3d031d038aa8345ba4080fb3e9 Change-Id: Ia6dba4f27b47bc9e0c89159182ad80a5aee17166 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102499 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/osl/profile.hxx')
-rw-r--r--include/osl/profile.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/osl/profile.hxx b/include/osl/profile.hxx
index 0ce69a8aea3b..f8ead83d3dc0 100644
--- a/include/osl/profile.hxx
+++ b/include/osl/profile.hxx
@@ -70,7 +70,7 @@ namespace osl {
rtl::OString readString( const rtl::OString& rSection, const rtl::OString& rEntry,
const rtl::OString& rDefault)
{
- sal_Char aBuf[1024];
+ char aBuf[1024];
return osl_readProfileString( profile,
rSection.getStr(),
rEntry.getStr(),
@@ -90,7 +90,7 @@ namespace osl {
sal_uInt32 nDefault)
{
size_t nItems = rStrings.size();
- const sal_Char** pStrings = new const sal_Char*[ nItems+1 ];
+ const char** pStrings = new const char*[ nItems+1 ];
std::list< rtl::OString >::const_iterator it = rStrings.begin();
nItems = 0;
while( it != rStrings.end() )
@@ -120,7 +120,7 @@ namespace osl {
sal_uInt32 nValue)
{
size_t nItems = rStrings.size();
- const sal_Char** pStrings = new const sal_Char*[ nItems+1 ];
+ const char** pStrings = new const char*[ nItems+1 ];
std::list< rtl::OString >::const_iterator it = rStrings.begin();
nItems = 0;
while( it != rStrings.end() )
@@ -157,7 +157,7 @@ namespace osl {
size_t n = osl_getProfileSectionEntries( profile, rSection.getStr(), NULL, 0 );
if( n > 1 )
{
- sal_Char* pBuf = new sal_Char[ n+1 ];
+ char* pBuf = new char[ n+1 ];
osl_getProfileSectionEntries( profile, rSection.getStr(), pBuf, n+1 );
size_t nLen;
for( n = 0; ; n += nLen+1 )
@@ -184,7 +184,7 @@ namespace osl {
size_t n = osl_getProfileSections( profile, NULL, 0 );
if( n > 1 )
{
- sal_Char* pBuf = new sal_Char[ n+1 ];
+ char* pBuf = new char[ n+1 ];
osl_getProfileSections( profile, pBuf, n+1 );
size_t nLen;
for( n = 0; ; n += nLen+1 )