summaryrefslogtreecommitdiff
path: root/sal/qa/osl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-19 13:29:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-19 19:17:57 +0100
commite994b3fc3b2c9b7d39a715fc4d9453e06434d457 (patch)
tree444fc710a7e31168bba36319f65a862d393c69e6 /sal/qa/osl
parent7c18da2dc6963b6f3f74a72fc4f6a3eedd8f9eb7 (diff)
sal_Char->char in remotebridges..sax
Change-Id: I6d32942960a5e997f16eb1301c45495661cd4cea Reviewed-on: https://gerrit.libreoffice.org/85514 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/qa/osl')
-rw-r--r--sal/qa/osl/file/osl_File.cxx22
-rw-r--r--sal/qa/osl/file/osl_File_Const.h6
-rw-r--r--sal/qa/osl/pipe/osl_Pipe.cxx4
3 files changed, 16 insertions, 16 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx
index 2f61437ab7f4..2f099586ee73 100644
--- a/sal/qa/osl/file/osl_File.cxx
+++ b/sal/qa/osl/file/osl_File.cxx
@@ -376,7 +376,7 @@ static bool checkDirectory(const OUString& str, oslCheckMode nCheckMode)
/** construct error message
*/
-static OString outputError(const OString & returnVal, const OString & rightVal, const sal_Char * msg = "")
+static OString outputError(const OString & returnVal, const OString & rightVal, const char * msg = "")
{
if (returnVal == rightVal)
return OString();
@@ -2202,7 +2202,7 @@ namespace osl_File
void ctors_002()
{
File testFile(aTmpName5);
- sal_Char buffer[30] = "Test for File constructor";
+ char buffer[30] = "Test for File constructor";
sal_uInt64 nCount;
osl::FileBase::RC nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write);
@@ -2313,8 +2313,8 @@ namespace osl_File
void open_006()
{
File testFile(aCanURL1);
- sal_Char buffer_write[30] = "Test for File open";
- sal_Char buffer_read[30];
+ char buffer_write[30] = "Test for File open";
+ char buffer_read[30];
sal_uInt64 nCount_write, nCount_read;
nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write | osl_File_OpenFlag_Create);
@@ -2459,7 +2459,7 @@ namespace osl_File
void setPos_001()
{
File testFile(aTmpName4);
- sal_Char buffer_read[2];
+ char buffer_read[2];
nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, nError1);
@@ -2477,7 +2477,7 @@ namespace osl_File
void setPos_002()
{
File testFile(aTmpName4);
- sal_Char buffer_read[2];
+ char buffer_read[2];
nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, nError1);
@@ -2497,7 +2497,7 @@ namespace osl_File
void setPos_003()
{
File testFile(aTmpName4);
- sal_Char buffer_read[2];
+ char buffer_read[2];
nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, nError1);
@@ -2836,7 +2836,7 @@ namespace osl_File
{
File testFile(aTmpName4);
sal_uInt64 nFilePointer;
- sal_Char buffer_read[10];
+ char buffer_read[10];
nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, nError1);
@@ -2859,7 +2859,7 @@ namespace osl_File
{
File testFile(aTmpName4);
sal_uInt64 nFilePointer;
- sal_Char buffer_read[26];
+ char buffer_read[26];
nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, nError1);
@@ -2922,7 +2922,7 @@ namespace osl_File
{
File testFile(aTmpName6);
sal_uInt64 nFilePointer;
- sal_Char buffer_read[10];
+ char buffer_read[10];
nError1 = testFile.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, nError1);
@@ -2978,7 +2978,7 @@ namespace osl_File
// write some strings into the file.
File testFile(aTmpName6);
- sal_Char ppStrSeq[3][27] = { "abcde\n",
+ char ppStrSeq[3][27] = { "abcde\n",
"1234567890\n",
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
};
diff --git a/sal/qa/osl/file/osl_File_Const.h b/sal/qa/osl/file/osl_File_Const.h
index d1dff529dfb2..6cf324f29686 100644
--- a/sal/qa/osl/file/osl_File_Const.h
+++ b/sal/qa/osl/file/osl_File_Const.h
@@ -56,9 +56,9 @@ extern "C"
// so, a common test data repository will be better since it can be
// shared among all test code
-const sal_Char pBuffer_Char[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
-const sal_Char pBuffer_Number[] = "1234567890";
-const sal_Char pBuffer_Blank[] = "";
+const char pBuffer_Char[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+const char pBuffer_Number[] = "1234567890";
+const char pBuffer_Blank[] = "";
// OS dependent/independent definitions/includes
// we use FILE_PREFIX for URL prefix,
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index d7bedb5baaa8..0237fa57a411 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -749,7 +749,7 @@ namespace osl_StreamPipe
class Pipe_DataSink_Thread : public Thread
{
public:
- sal_Char buf[256];
+ char buf[256];
Pipe_DataSink_Thread( ) { }
protected:
@@ -787,7 +787,7 @@ namespace osl_StreamPipe
class Pipe_DataSource_Thread : public Thread
{
public:
- sal_Char buf[256];
+ char buf[256];
::osl::Pipe aListenPipe;
::osl::StreamPipe aConnectionPipe;
Pipe_DataSource_Thread( )