[Libreoffice-commits] core.git: sal/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Aug 6 09:39:02 UTC 2018
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx | 1861 +++++++++++++----------------
1 file changed, 862 insertions(+), 999 deletions(-)
New commits:
commit 7989b3951bcdc87e504a8773b29d9c6860f7a306
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Aug 3 15:56:22 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Aug 6 11:38:40 2018 +0200
loplugin:useuniqueptr in sal/qa/OStringBuffer
Change-Id: Ib05e209bfe71bacca99862f0e3266008bb436995
Reviewed-on: https://gerrit.libreoffice.org/58569
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx b/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
index 46ed91ecfa99..b22854fcd6c4 100644
--- a/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
+++ b/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
@@ -196,26 +196,20 @@ namespace rtl_OStringBuffer
class makeStringAndClear : public CppUnit::TestFixture
{
- OString* arrOUS[6];
+ OString arrOUS[6];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr1 );
- arrOUS[1] = new OString( kTestStr14 );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( kTestStr27 );
- arrOUS[4] = new OString( kTestStr29 );
- arrOUS[5] = new OString( "\0", 1 );
+ arrOUS[0] = OString( kTestStr1 );
+ arrOUS[1] = OString( kTestStr14 );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( kTestStr27 );
+ arrOUS[4] = OString( kTestStr29 );
+ arrOUS[5] = OString( "\0", 1 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4]; delete arrOUS[5];
- }
-
void makeStringAndClear_001()
{
::rtl::OStringBuffer aStrBuf1;
@@ -259,8 +253,8 @@ namespace rtl_OStringBuffer
void makeStringAndClear_003()
{
- ::rtl::OStringBuffer aStrBuf3(*arrOUS[0]);
- ::rtl::OString aStr3(*arrOUS[0]);
+ ::rtl::OStringBuffer aStrBuf3(arrOUS[0]);
+ ::rtl::OString aStr3(arrOUS[0]);
bool lastRes = (aStrBuf3.makeStringAndClear() == aStr3 );
@@ -275,8 +269,8 @@ namespace rtl_OStringBuffer
void makeStringAndClear_004()
{
- ::rtl::OStringBuffer aStrBuf4(*arrOUS[1]);
- ::rtl::OString aStr4(*arrOUS[1]);
+ ::rtl::OStringBuffer aStrBuf4(arrOUS[1]);
+ ::rtl::OString aStr4(arrOUS[1]);
bool lastRes = (aStrBuf4.makeStringAndClear() == aStr4 );
@@ -290,8 +284,8 @@ namespace rtl_OStringBuffer
void makeStringAndClear_005()
{
- ::rtl::OStringBuffer aStrBuf5(*arrOUS[2]);
- ::rtl::OString aStr5(*arrOUS[2]);
+ ::rtl::OStringBuffer aStrBuf5(arrOUS[2]);
+ ::rtl::OString aStr5(arrOUS[2]);
bool lastRes = (aStrBuf5.makeStringAndClear() == aStr5 );
@@ -305,8 +299,8 @@ namespace rtl_OStringBuffer
void makeStringAndClear_006()
{
- ::rtl::OStringBuffer aStrBuf6(*arrOUS[3]);
- ::rtl::OString aStr6(*arrOUS[3]);
+ ::rtl::OStringBuffer aStrBuf6(arrOUS[3]);
+ ::rtl::OString aStr6(arrOUS[3]);
bool lastRes = (aStrBuf6.makeStringAndClear() == aStr6 );
@@ -320,8 +314,8 @@ namespace rtl_OStringBuffer
void makeStringAndClear_007()
{
- ::rtl::OStringBuffer aStrBuf7(*arrOUS[4]);
- ::rtl::OString aStr7(*arrOUS[4]);
+ ::rtl::OStringBuffer aStrBuf7(arrOUS[4]);
+ ::rtl::OString aStr7(arrOUS[4]);
bool lastRes = (aStrBuf7.makeStringAndClear() == aStr7 );
@@ -335,8 +329,8 @@ namespace rtl_OStringBuffer
void makeStringAndClear_008()
{
- ::rtl::OStringBuffer aStrBuf8(*arrOUS[5]);
- ::rtl::OString aStr8(*arrOUS[5]);
+ ::rtl::OStringBuffer aStrBuf8(arrOUS[5]);
+ ::rtl::OString aStr8(arrOUS[5]);
bool lastRes = (aStrBuf8.makeStringAndClear() == aStr8 );
@@ -399,29 +393,23 @@ namespace rtl_OStringBuffer
class getLength : public CppUnit::TestFixture
{
- OString* arrOUS[6];
+ OString arrOUS[6];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr1 );
- arrOUS[1] = new OString( "1" );
- arrOUS[2] = new OString( );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( "\0", 1 );
- arrOUS[5] = new OString( kTestStr2 );
-
- }
+ arrOUS[0] = OString( kTestStr1 );
+ arrOUS[1] = OString( "1" );
+ arrOUS[2] = OString( );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( "\0", 1 );
+ arrOUS[5] = OString( kTestStr2 );
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4]; delete arrOUS[5];
}
void getLength_001()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Int32 expVal = kTestStr1Len;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -434,7 +422,7 @@ namespace rtl_OStringBuffer
void getLength_002()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
sal_Int32 expVal = 1;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -446,7 +434,7 @@ namespace rtl_OStringBuffer
void getLength_003()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
sal_Int32 expVal = 0;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -458,7 +446,7 @@ namespace rtl_OStringBuffer
void getLength_004()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
sal_Int32 expVal = 0;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -470,7 +458,7 @@ namespace rtl_OStringBuffer
void getLength_005()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
sal_Int32 expVal = 1;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -482,7 +470,7 @@ namespace rtl_OStringBuffer
void getLength_006()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[5] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[5] );
sal_Int32 expVal = kTestStr2Len;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -530,29 +518,23 @@ namespace rtl_OStringBuffer
class getCapacity : public CppUnit::TestFixture
{
- OString* arrOUS[6];
+ OString arrOUS[6];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr1 );
- arrOUS[1] = new OString( "1" );
- arrOUS[2] = new OString( );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( "\0", 1 );
- arrOUS[5] = new OString( kTestStr2 );
+ arrOUS[0] = OString( kTestStr1 );
+ arrOUS[1] = OString( "1" );
+ arrOUS[2] = OString( );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( "\0", 1 );
+ arrOUS[5] = OString( kTestStr2 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4]; delete arrOUS[5];
- }
-
void getCapacity_001()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Int32 expVal = kTestStr1Len+16;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -565,7 +547,7 @@ namespace rtl_OStringBuffer
void getCapacity_002()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
sal_Int32 expVal = 1+16;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -577,7 +559,7 @@ namespace rtl_OStringBuffer
void getCapacity_003()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
sal_Int32 expVal = 0+16;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -589,7 +571,7 @@ namespace rtl_OStringBuffer
void getCapacity_004()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
sal_Int32 expVal = 0+16;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -601,7 +583,7 @@ namespace rtl_OStringBuffer
void getCapacity_005()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
sal_Int32 expVal = 1+16;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -613,7 +595,7 @@ namespace rtl_OStringBuffer
void getCapacity_006()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[5] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[5] );
sal_Int32 expVal = kTestStr2Len+16;
CPPUNIT_ASSERT_EQUAL_MESSAGE
@@ -897,29 +879,23 @@ namespace rtl_OStringBuffer
class setLength : public CppUnit::TestFixture
{
- OString* arrOUS[6];
+ OString arrOUS[6];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr1 );
- arrOUS[1] = new OString( "1" );
- arrOUS[2] = new OString( );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( "\0", 1 );
- arrOUS[5] = new OString( kTestStr2 );
+ arrOUS[0] = OString( kTestStr1 );
+ arrOUS[1] = OString( "1" );
+ arrOUS[2] = OString( );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( "\0", 1 );
+ arrOUS[5] = OString( kTestStr2 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4]; delete arrOUS[5];
- }
-
void setLength_001()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Int32 expVal1 = 50;
::rtl::OString expVal2( kTestStr1 );
sal_Int32 expVal3 = 50;
@@ -939,7 +915,7 @@ namespace rtl_OStringBuffer
void setLength_002()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Int32 expVal1 = kTestStr13Len;
::rtl::OString expVal2( kTestStr1 );
sal_Int32 expVal3 = 32;
@@ -959,7 +935,7 @@ namespace rtl_OStringBuffer
void setLength_003()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Int32 expVal1 = kTestStr1Len;
::rtl::OString expVal2( kTestStr1 );
sal_Int32 expVal3 = 32;
@@ -979,7 +955,7 @@ namespace rtl_OStringBuffer
void setLength_004()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Int32 expVal1 = kTestStr7Len;
::rtl::OString expVal2( kTestStr7 );
sal_Int32 expVal3 = 32;
@@ -999,7 +975,7 @@ namespace rtl_OStringBuffer
void setLength_005()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Int32 expVal1 = 0;
::rtl::OString expVal2;
sal_Int32 expVal3 = 32;
@@ -1019,9 +995,9 @@ namespace rtl_OStringBuffer
void setLength_006()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
sal_Int32 expVal1 = 25;
- ::rtl::OString expVal2( *arrOUS[1] );
+ ::rtl::OString expVal2( arrOUS[1] );
sal_Int32 expVal3 = 25;
sal_Int32 input = 25;
@@ -1039,9 +1015,9 @@ namespace rtl_OStringBuffer
void setLength_007()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
sal_Int32 expVal1 = kTestStr27Len;
- ::rtl::OString expVal2( *arrOUS[1] );
+ ::rtl::OString expVal2( arrOUS[1] );
sal_Int32 expVal3 = 17;
sal_Int32 input = kTestStr27Len;
@@ -1059,7 +1035,7 @@ namespace rtl_OStringBuffer
void setLength_008()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
sal_Int32 expVal1 = 0;
::rtl::OString expVal2;
sal_Int32 expVal3 = 17;
@@ -1079,7 +1055,7 @@ namespace rtl_OStringBuffer
void setLength_009()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
sal_Int32 expVal1 = 20;
::rtl::OString expVal2;
sal_Int32 expVal3 = 20;
@@ -1099,7 +1075,7 @@ namespace rtl_OStringBuffer
void setLength_010()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
sal_Int32 expVal1 = 3;
::rtl::OString expVal2;
sal_Int32 expVal3 = 16;
@@ -1119,7 +1095,7 @@ namespace rtl_OStringBuffer
void setLength_011()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
sal_Int32 expVal1 = 0;
::rtl::OString expVal2;
sal_Int32 expVal3 = 16;
@@ -1139,7 +1115,7 @@ namespace rtl_OStringBuffer
void setLength_012()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
sal_Int32 expVal1 = 20;
::rtl::OString expVal2;
sal_Int32 expVal3 = 20;
@@ -1159,7 +1135,7 @@ namespace rtl_OStringBuffer
void setLength_013()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
sal_Int32 expVal1 = 5;
::rtl::OString expVal2;
sal_Int32 expVal3 = 16;
@@ -1179,7 +1155,7 @@ namespace rtl_OStringBuffer
void setLength_014()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
sal_Int32 expVal1 = 0;
::rtl::OString expVal2;
sal_Int32 expVal3 = 16;
@@ -1199,7 +1175,7 @@ namespace rtl_OStringBuffer
void setLength_015()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
sal_Int32 expVal1 = 20;
::rtl::OString expVal2;
sal_Int32 expVal3 = 20;
@@ -1219,7 +1195,7 @@ namespace rtl_OStringBuffer
void setLength_016()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
sal_Int32 expVal1 = 5;
::rtl::OString expVal2;
sal_Int32 expVal3 = 17;
@@ -1239,7 +1215,7 @@ namespace rtl_OStringBuffer
void setLength_017()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
sal_Int32 expVal1 = 0;
::rtl::OString expVal2;
sal_Int32 expVal3 = 17;
@@ -1259,7 +1235,7 @@ namespace rtl_OStringBuffer
void setLength_018()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[5] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[5] );
sal_Int32 expVal1 = 50;
::rtl::OString expVal2( kTestStr2 );
sal_Int32 expVal3 = 66;
@@ -1279,7 +1255,7 @@ namespace rtl_OStringBuffer
void setLength_019()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[5] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[5] );
sal_Int32 expVal1 = 40;
::rtl::OString expVal2(kTestStr2);
sal_Int32 expVal3 = 48;
@@ -1299,7 +1275,7 @@ namespace rtl_OStringBuffer
void setLength_020()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[5] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[5] );
sal_Int32 expVal1 = kTestStr2Len;
::rtl::OString expVal2(kTestStr2);
sal_Int32 expVal3 = 48;
@@ -1319,7 +1295,7 @@ namespace rtl_OStringBuffer
void setLength_021()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[5] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[5] );
sal_Int32 expVal1 = kTestStr7Len;
::rtl::OString expVal2(kTestStr7);
sal_Int32 expVal3 = 48;
@@ -1339,7 +1315,7 @@ namespace rtl_OStringBuffer
void setLength_022()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[5] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[5] );
sal_Int32 expVal1 = 0;
::rtl::OString expVal2;
sal_Int32 expVal3 = 48;
@@ -1467,29 +1443,23 @@ namespace rtl_OStringBuffer
class append_001 : public CppUnit::TestFixture
{
- OString* arrOUS[5];
+ OString arrOUS[5];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr7 );
- arrOUS[1] = new OString( );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( kTestStr28 );
+ arrOUS[0] = OString( kTestStr7 );
+ arrOUS[1] = OString( );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( kTestStr28 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4];
- }
-
void append_001_001()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString input2( kTestStr8 );
aStrBuf.append( input2 );
@@ -1505,7 +1475,7 @@ namespace rtl_OStringBuffer
void append_001_002()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString input2( kTestStr36 );
aStrBuf.append( input2 );
@@ -1522,7 +1492,7 @@ namespace rtl_OStringBuffer
void append_001_003()
{
OString expVal( kTestStr37 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString input2( kTestStr23 );
aStrBuf.append( input2 );
@@ -1539,7 +1509,7 @@ namespace rtl_OStringBuffer
void append_001_004()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString input2;
aStrBuf.append( input2 );
@@ -1556,7 +1526,7 @@ namespace rtl_OStringBuffer
void append_001_005()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString input2( kTestStr7 );
aStrBuf.append( input2 );
@@ -1573,7 +1543,7 @@ namespace rtl_OStringBuffer
void append_001_006()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString input2( kTestStr2 );
aStrBuf.append( input2 );
@@ -1590,7 +1560,7 @@ namespace rtl_OStringBuffer
void append_001_007()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString input2( kTestStr1 );
aStrBuf.append( input2 );
@@ -1607,7 +1577,7 @@ namespace rtl_OStringBuffer
void append_001_008()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString input2;
aStrBuf.append( input2 );
@@ -1624,7 +1594,7 @@ namespace rtl_OStringBuffer
void append_001_009()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString input2( kTestStr7 );
aStrBuf.append( input2 );
@@ -1641,7 +1611,7 @@ namespace rtl_OStringBuffer
void append_001_010()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString input2( kTestStr2 );
aStrBuf.append( input2 );
@@ -1658,7 +1628,7 @@ namespace rtl_OStringBuffer
void append_001_011()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString input2( kTestStr1 );
aStrBuf.append( input2 );
@@ -1675,7 +1645,7 @@ namespace rtl_OStringBuffer
void append_001_012()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString input2;
aStrBuf.append( input2 );
@@ -1692,7 +1662,7 @@ namespace rtl_OStringBuffer
void append_001_013()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString input2( kTestStr7 );
aStrBuf.append( input2 );
@@ -1709,7 +1679,7 @@ namespace rtl_OStringBuffer
void append_001_014()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString input2( kTestStr2 );
aStrBuf.append( input2 );
@@ -1726,7 +1696,7 @@ namespace rtl_OStringBuffer
void append_001_015()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString input2( kTestStr1 );
aStrBuf.append( input2 );
@@ -1743,7 +1713,7 @@ namespace rtl_OStringBuffer
void append_001_016()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString input2;
aStrBuf.append( input2 );
@@ -1760,7 +1730,7 @@ namespace rtl_OStringBuffer
void append_001_017()
{
OString expVal( kTestStr29 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString input2( kTestStr38 );
aStrBuf.append( input2 );
@@ -1777,7 +1747,7 @@ namespace rtl_OStringBuffer
void append_001_018()
{
OString expVal( kTestStr39 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString input2( kTestStr17 );
aStrBuf.append( input2 );
@@ -1794,7 +1764,7 @@ namespace rtl_OStringBuffer
void append_001_019()
{
OString expVal( kTestStr40 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString input2( kTestStr31 );
aStrBuf.append( input2 );
@@ -1811,7 +1781,7 @@ namespace rtl_OStringBuffer
void append_001_020()
{
OString expVal( kTestStr28 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString input2;
aStrBuf.append( input2 );
@@ -1874,29 +1844,23 @@ namespace rtl_OStringBuffer
class append_002 : public CppUnit::TestFixture
{
- OString* arrOUS[5];
+ OString arrOUS[5];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr7 );
- arrOUS[1] = new OString( );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( kTestStr28 );
+ arrOUS[0] = OString( kTestStr7 );
+ arrOUS[1] = OString( );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( kTestStr28 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4];
- }
-
void append_002_001()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input = kTestStr8;
aStrBuf.append( input );
@@ -1912,7 +1876,7 @@ namespace rtl_OStringBuffer
void append_002_002()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input = kTestStr36;
aStrBuf.append( input );
@@ -1928,7 +1892,7 @@ namespace rtl_OStringBuffer
void append_002_003()
{
OString expVal( kTestStr37 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input = kTestStr23;
aStrBuf.append( input );
@@ -1944,7 +1908,7 @@ namespace rtl_OStringBuffer
void append_002_004()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input = kTestStr25;
aStrBuf.append( input );
@@ -1960,7 +1924,7 @@ namespace rtl_OStringBuffer
void append_002_005()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input = kTestStr7;
aStrBuf.append( input );
@@ -1976,7 +1940,7 @@ namespace rtl_OStringBuffer
void append_002_006()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input = kTestStr2;
aStrBuf.append( input );
@@ -1992,7 +1956,7 @@ namespace rtl_OStringBuffer
void append_002_007()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input = kTestStr1;
aStrBuf.append( input );
@@ -2008,7 +1972,7 @@ namespace rtl_OStringBuffer
void append_002_008()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input = kTestStr25;
aStrBuf.append( input );
@@ -2024,7 +1988,7 @@ namespace rtl_OStringBuffer
void append_002_009()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input = kTestStr7;
aStrBuf.append( input );
@@ -2040,7 +2004,7 @@ namespace rtl_OStringBuffer
void append_002_010()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input = kTestStr2;
aStrBuf.append( input );
@@ -2056,7 +2020,7 @@ namespace rtl_OStringBuffer
void append_002_011()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input = kTestStr1;
aStrBuf.append( input );
@@ -2072,7 +2036,7 @@ namespace rtl_OStringBuffer
void append_002_012()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input = kTestStr25;
aStrBuf.append( input );
@@ -2088,7 +2052,7 @@ namespace rtl_OStringBuffer
void append_002_013()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input = kTestStr7;
aStrBuf.append( input );
@@ -2104,7 +2068,7 @@ namespace rtl_OStringBuffer
void append_002_014()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input = kTestStr2;
aStrBuf.append( input );
@@ -2120,7 +2084,7 @@ namespace rtl_OStringBuffer
void append_002_015()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input = kTestStr1;
aStrBuf.append( input );
@@ -2136,7 +2100,7 @@ namespace rtl_OStringBuffer
void append_002_016()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input = kTestStr25;
aStrBuf.append( input );
@@ -2152,7 +2116,7 @@ namespace rtl_OStringBuffer
void append_002_017()
{
OString expVal( kTestStr29 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input = kTestStr38;
aStrBuf.append( input );
@@ -2168,7 +2132,7 @@ namespace rtl_OStringBuffer
void append_002_018()
{
OString expVal( kTestStr39 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input = kTestStr17;
aStrBuf.append( input );
@@ -2184,7 +2148,7 @@ namespace rtl_OStringBuffer
void append_002_019()
{
OString expVal( kTestStr40 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input = kTestStr31;
aStrBuf.append( input );
@@ -2200,7 +2164,7 @@ namespace rtl_OStringBuffer
void append_002_020()
{
OString expVal( kTestStr28 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input = kTestStr25;
aStrBuf.append( input );
@@ -2260,29 +2224,23 @@ namespace rtl_OStringBuffer
class append_003 : public CppUnit::TestFixture
{
- OString* arrOUS[5];
+ OString arrOUS[5];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr7 );
- arrOUS[1] = new OString( );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( kTestStr28 );
+ arrOUS[0] = OString( kTestStr7 );
+ arrOUS[1] = OString( );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( kTestStr28 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4];
- }
-
void append_003_001()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input1 = kTestStr36;
sal_Int32 input2 = 12;
@@ -2299,7 +2257,7 @@ namespace rtl_OStringBuffer
void append_003_002()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input1 = kTestStr36;
sal_Int32 input2 = 28;
@@ -2316,7 +2274,7 @@ namespace rtl_OStringBuffer
void append_003_003()
{
OString expVal( kTestStr37 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input1 = kTestStr23;
sal_Int32 input2 = 16;
@@ -2333,7 +2291,7 @@ namespace rtl_OStringBuffer
void append_003_004()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 0;
@@ -2350,7 +2308,7 @@ namespace rtl_OStringBuffer
void append_003_006()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 4;
@@ -2367,7 +2325,7 @@ namespace rtl_OStringBuffer
void append_003_007()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 32;
@@ -2384,7 +2342,7 @@ namespace rtl_OStringBuffer
void append_003_008()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 16;
@@ -2401,7 +2359,7 @@ namespace rtl_OStringBuffer
void append_003_009()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 0;
@@ -2418,7 +2376,7 @@ namespace rtl_OStringBuffer
void append_003_011()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 4;
@@ -2435,7 +2393,7 @@ namespace rtl_OStringBuffer
void append_003_012()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 32;
@@ -2452,7 +2410,7 @@ namespace rtl_OStringBuffer
void append_003_013()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 16;
@@ -2469,7 +2427,7 @@ namespace rtl_OStringBuffer
void append_003_014()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 0;
@@ -2486,7 +2444,7 @@ namespace rtl_OStringBuffer
void append_003_016()
{
OString expVal( kTestStr7 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 4;
@@ -2503,7 +2461,7 @@ namespace rtl_OStringBuffer
void append_003_017()
{
OString expVal( kTestStr2 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 32;
@@ -2520,7 +2478,7 @@ namespace rtl_OStringBuffer
void append_003_018()
{
OString expVal( kTestStr1 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 16;
@@ -2537,7 +2495,7 @@ namespace rtl_OStringBuffer
void append_003_019()
{
OString expVal;
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 0;
@@ -2554,7 +2512,7 @@ namespace rtl_OStringBuffer
void append_003_021()
{
OString expVal( kTestStr29 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input1 = kTestStr38;
sal_Int32 input2 = 7;
@@ -2571,7 +2529,7 @@ namespace rtl_OStringBuffer
void append_003_022()
{
OString expVal( kTestStr39 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input1 = kTestStr17;
sal_Int32 input2 = 22;
@@ -2588,7 +2546,7 @@ namespace rtl_OStringBuffer
void append_003_023()
{
OString expVal( kTestStr40 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input1 = kTestStr31;
sal_Int32 input2 = 16;
@@ -2605,7 +2563,7 @@ namespace rtl_OStringBuffer
void append_003_024()
{
OString expVal( kTestStr28 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
const sal_Char* input1 = kTestStr2;
sal_Int32 input2 = 0;
@@ -2645,29 +2603,23 @@ namespace rtl_OStringBuffer
class append_004 : public CppUnit::TestFixture
{
- OString* arrOUS[5];
+ OString arrOUS[5];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr7 );
- arrOUS[1] = new OString( );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( kTestStr28 );
+ arrOUS[0] = OString( kTestStr7 );
+ arrOUS[1] = OString( );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( kTestStr28 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4];
- }
-
void append_004_001()
{
OString expVal( kTestStr45 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
bool input = true;
aStrBuf.append( input );
@@ -2683,7 +2635,7 @@ namespace rtl_OStringBuffer
void append_004_002()
{
OString expVal( kTestStr46 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
bool input = false;
aStrBuf.append( input );
@@ -2699,7 +2651,7 @@ namespace rtl_OStringBuffer
void append_004_003()
{
OString expVal( kTestStr47 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
bool input = true;
aStrBuf.append( input );
@@ -2715,7 +2667,7 @@ namespace rtl_OStringBuffer
void append_004_004()
{
OString expVal( kTestStr48 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
bool input = false;
aStrBuf.append( input );
@@ -2731,7 +2683,7 @@ namespace rtl_OStringBuffer
void append_004_005()
{
OString expVal( kTestStr47 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
bool input = true;
aStrBuf.append( input );
@@ -2747,7 +2699,7 @@ namespace rtl_OStringBuffer
void append_004_006()
{
OString expVal( kTestStr48 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
bool input = false;
aStrBuf.append( input );
@@ -2763,7 +2715,7 @@ namespace rtl_OStringBuffer
void append_004_007()
{
OString expVal( kTestStr47 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
bool input = true;
aStrBuf.append( input );
@@ -2779,7 +2731,7 @@ namespace rtl_OStringBuffer
void append_004_008()
{
OString expVal( kTestStr48 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
bool input = false;
aStrBuf.append( input );
@@ -2795,7 +2747,7 @@ namespace rtl_OStringBuffer
void append_004_009()
{
OString expVal( kTestStr49 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
bool input = true;
aStrBuf.append( input );
@@ -2811,7 +2763,7 @@ namespace rtl_OStringBuffer
void append_004_010()
{
OString expVal( kTestStr50 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
bool input = false;
aStrBuf.append( input );
@@ -2880,29 +2832,23 @@ namespace rtl_OStringBuffer
class append_005 : public CppUnit::TestFixture
{
- OString* arrOUS[5];
+ OString arrOUS[5];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr7 );
- arrOUS[1] = new OString( );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( kTestStr28 );
+ arrOUS[0] = OString( kTestStr7 );
+ arrOUS[1] = OString( );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( kTestStr28 );
}
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4];
- }
-
void append_001()
{
OString expVal( kTestStr51 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Char input = 'M';
aStrBuf.append( input );
@@ -2918,7 +2864,7 @@ namespace rtl_OStringBuffer
void append_002()
{
OString expVal( kTestStr143 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
sal_Char input = static_cast<sal_Char>(SAL_MAX_UINT8);
aStrBuf.append( input );
@@ -2934,7 +2880,7 @@ namespace rtl_OStringBuffer
void append_003()
{
OString expVal( kTestStr27 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
sal_Char input = 's';
aStrBuf.append( input );
@@ -2950,7 +2896,7 @@ namespace rtl_OStringBuffer
void append_004()
{
OString expVal( kTestStr144 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
sal_Char input = static_cast<sal_Char>(SAL_MAX_UINT8);
aStrBuf.append( input );
@@ -2966,7 +2912,7 @@ namespace rtl_OStringBuffer
void append_005_005()
{
OString expVal( kTestStr27 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
sal_Char input = 's';
aStrBuf.append( input );
@@ -2982,7 +2928,7 @@ namespace rtl_OStringBuffer
void append_006()
{
OString expVal( kTestStr144 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
sal_Char input = static_cast<sal_Char>(SAL_MAX_UINT8);
aStrBuf.append( input );
@@ -2998,7 +2944,7 @@ namespace rtl_OStringBuffer
void append_007()
{
OString expVal( kTestStr27 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
sal_Char input = 's';
aStrBuf.append( input );
@@ -3014,7 +2960,7 @@ namespace rtl_OStringBuffer
void append_008()
{
OString expVal( kTestStr144 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
sal_Char input = static_cast<sal_Char>(SAL_MAX_UINT8);
aStrBuf.append( input );
@@ -3030,7 +2976,7 @@ namespace rtl_OStringBuffer
void append_009()
{
OString expVal( kTestStr56 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
sal_Char input = 's';
aStrBuf.append( input );
@@ -3046,7 +2992,7 @@ namespace rtl_OStringBuffer
void append_010()
{
OString expVal( kTestStr145 );
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
sal_Char input = static_cast<sal_Char>(SAL_MAX_UINT8);
aStrBuf.append( input );
@@ -3113,28 +3059,22 @@ namespace rtl_OStringBuffer
class append_006_Int32 : public CppUnit::TestFixture
{
- OString* arrOUS[5];
+ OString arrOUS[5];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr7 );
- arrOUS[1] = new OString( );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( kTestStr28 );
-
- }
+ arrOUS[0] = OString( kTestStr7 );
+ arrOUS[1] = OString( );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( kTestStr28 );
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4];
}
void append_001()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 2;
@@ -3153,7 +3093,7 @@ namespace rtl_OStringBuffer
void append_002()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 2;
@@ -3172,7 +3112,7 @@ namespace rtl_OStringBuffer
void append_003()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 2;
@@ -3191,7 +3131,7 @@ namespace rtl_OStringBuffer
void append_004()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 2;
@@ -3210,7 +3150,7 @@ namespace rtl_OStringBuffer
void append_005()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 8;
@@ -3229,7 +3169,7 @@ namespace rtl_OStringBuffer
void append_006()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 8;
@@ -3248,7 +3188,7 @@ namespace rtl_OStringBuffer
void append_007()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 8;
@@ -3267,7 +3207,7 @@ namespace rtl_OStringBuffer
void append_008()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 8;
@@ -3286,7 +3226,7 @@ namespace rtl_OStringBuffer
void append_009()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 10;
@@ -3305,7 +3245,7 @@ namespace rtl_OStringBuffer
void append_010()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 10;
@@ -3324,7 +3264,7 @@ namespace rtl_OStringBuffer
void append_011()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 10;
@@ -3343,7 +3283,7 @@ namespace rtl_OStringBuffer
void append_012()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 10;
@@ -3362,7 +3302,7 @@ namespace rtl_OStringBuffer
void append_013()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 16;
@@ -3381,7 +3321,7 @@ namespace rtl_OStringBuffer
void append_014()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 16;
@@ -3400,7 +3340,7 @@ namespace rtl_OStringBuffer
void append_015()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 16;
@@ -3419,7 +3359,7 @@ namespace rtl_OStringBuffer
void append_016()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 16;
@@ -3438,7 +3378,7 @@ namespace rtl_OStringBuffer
void append_017()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 36;
@@ -3457,7 +3397,7 @@ namespace rtl_OStringBuffer
void append_018()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 36;
@@ -3476,7 +3416,7 @@ namespace rtl_OStringBuffer
void append_019()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 36;
@@ -3495,7 +3435,7 @@ namespace rtl_OStringBuffer
void append_020()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 35;
sal_Int16 radix = 36;
@@ -3514,7 +3454,7 @@ namespace rtl_OStringBuffer
void append_021()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 2;
@@ -3533,7 +3473,7 @@ namespace rtl_OStringBuffer
void append_022()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 2;
@@ -3552,7 +3492,7 @@ namespace rtl_OStringBuffer
void append_023()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 2;
@@ -3571,7 +3511,7 @@ namespace rtl_OStringBuffer
void append_024()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 2;
@@ -3590,7 +3530,7 @@ namespace rtl_OStringBuffer
void append_025()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 8;
@@ -3609,7 +3549,7 @@ namespace rtl_OStringBuffer
void append_026()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 8;
@@ -3628,7 +3568,7 @@ namespace rtl_OStringBuffer
void append_027()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 8;
@@ -3647,7 +3587,7 @@ namespace rtl_OStringBuffer
void append_028()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 8;
@@ -3666,7 +3606,7 @@ namespace rtl_OStringBuffer
void append_029()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 10;
@@ -3685,7 +3625,7 @@ namespace rtl_OStringBuffer
void append_030()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 10;
@@ -3704,7 +3644,7 @@ namespace rtl_OStringBuffer
void append_031()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 10;
@@ -3723,7 +3663,7 @@ namespace rtl_OStringBuffer
void append_032()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 10;
@@ -3742,7 +3682,7 @@ namespace rtl_OStringBuffer
void append_033()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 16;
@@ -3761,7 +3701,7 @@ namespace rtl_OStringBuffer
void append_034()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 16;
@@ -3780,7 +3720,7 @@ namespace rtl_OStringBuffer
void append_035()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 16;
@@ -3799,7 +3739,7 @@ namespace rtl_OStringBuffer
void append_036()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 16;
@@ -3818,7 +3758,7 @@ namespace rtl_OStringBuffer
void append_037()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 36;
@@ -3837,7 +3777,7 @@ namespace rtl_OStringBuffer
void append_038()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 36;
@@ -3856,7 +3796,7 @@ namespace rtl_OStringBuffer
void append_039()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 36;
@@ -3875,7 +3815,7 @@ namespace rtl_OStringBuffer
void append_040()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 35;
sal_Int16 radix = 36;
@@ -3894,7 +3834,7 @@ namespace rtl_OStringBuffer
void append_041()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 2;
@@ -3913,7 +3853,7 @@ namespace rtl_OStringBuffer
void append_042()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 2;
@@ -3932,7 +3872,7 @@ namespace rtl_OStringBuffer
void append_043()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 2;
@@ -3951,7 +3891,7 @@ namespace rtl_OStringBuffer
void append_044()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 2;
@@ -3970,7 +3910,7 @@ namespace rtl_OStringBuffer
void append_045()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 8;
@@ -3989,7 +3929,7 @@ namespace rtl_OStringBuffer
void append_046()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 8;
@@ -4008,7 +3948,7 @@ namespace rtl_OStringBuffer
void append_047()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 8;
@@ -4027,7 +3967,7 @@ namespace rtl_OStringBuffer
void append_048()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 8;
@@ -4046,7 +3986,7 @@ namespace rtl_OStringBuffer
void append_049()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 10;
@@ -4065,7 +4005,7 @@ namespace rtl_OStringBuffer
void append_050()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 10;
@@ -4084,7 +4024,7 @@ namespace rtl_OStringBuffer
void append_051()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 10;
@@ -4103,7 +4043,7 @@ namespace rtl_OStringBuffer
void append_052()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 10;
@@ -4122,7 +4062,7 @@ namespace rtl_OStringBuffer
void append_053()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 16;
@@ -4141,7 +4081,7 @@ namespace rtl_OStringBuffer
void append_054()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 16;
@@ -4160,7 +4100,7 @@ namespace rtl_OStringBuffer
void append_055()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 16;
@@ -4179,7 +4119,7 @@ namespace rtl_OStringBuffer
void append_056()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 16;
@@ -4198,7 +4138,7 @@ namespace rtl_OStringBuffer
void append_057()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 36;
@@ -4217,7 +4157,7 @@ namespace rtl_OStringBuffer
void append_058()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 36;
@@ -4236,7 +4176,7 @@ namespace rtl_OStringBuffer
void append_059()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 36;
@@ -4255,7 +4195,7 @@ namespace rtl_OStringBuffer
void append_060()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 35;
sal_Int16 radix = 36;
@@ -4274,7 +4214,7 @@ namespace rtl_OStringBuffer
void append_061()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 2;
@@ -4293,7 +4233,7 @@ namespace rtl_OStringBuffer
void append_062()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 2;
@@ -4312,7 +4252,7 @@ namespace rtl_OStringBuffer
void append_063()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 2;
@@ -4331,7 +4271,7 @@ namespace rtl_OStringBuffer
void append_064()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 2;
@@ -4350,7 +4290,7 @@ namespace rtl_OStringBuffer
void append_065()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 8;
@@ -4369,7 +4309,7 @@ namespace rtl_OStringBuffer
void append_066()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 8;
@@ -4388,7 +4328,7 @@ namespace rtl_OStringBuffer
void append_067()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 8;
@@ -4407,7 +4347,7 @@ namespace rtl_OStringBuffer
void append_068()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 8;
@@ -4426,7 +4366,7 @@ namespace rtl_OStringBuffer
void append_069()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 10;
@@ -4445,7 +4385,7 @@ namespace rtl_OStringBuffer
void append_070()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 10;
@@ -4464,7 +4404,7 @@ namespace rtl_OStringBuffer
void append_071()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 10;
@@ -4483,7 +4423,7 @@ namespace rtl_OStringBuffer
void append_072()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 10;
@@ -4502,7 +4442,7 @@ namespace rtl_OStringBuffer
void append_073()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 16;
@@ -4521,7 +4461,7 @@ namespace rtl_OStringBuffer
void append_074()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 16;
@@ -4540,7 +4480,7 @@ namespace rtl_OStringBuffer
void append_075()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 16;
@@ -4559,7 +4499,7 @@ namespace rtl_OStringBuffer
void append_076()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 16;
@@ -4578,7 +4518,7 @@ namespace rtl_OStringBuffer
void append_077()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 36;
@@ -4597,7 +4537,7 @@ namespace rtl_OStringBuffer
void append_078()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 36;
@@ -4616,7 +4556,7 @@ namespace rtl_OStringBuffer
void append_079()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 36;
@@ -4635,7 +4575,7 @@ namespace rtl_OStringBuffer
void append_080()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[3] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[3] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 35;
sal_Int16 radix = 36;
@@ -4654,7 +4594,7 @@ namespace rtl_OStringBuffer
void append_081()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 2;
@@ -4673,7 +4613,7 @@ namespace rtl_OStringBuffer
void append_082()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 2;
@@ -4692,7 +4632,7 @@ namespace rtl_OStringBuffer
void append_083()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 2;
@@ -4711,7 +4651,7 @@ namespace rtl_OStringBuffer
void append_084()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 2;
@@ -4730,7 +4670,7 @@ namespace rtl_OStringBuffer
void append_085()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 8;
@@ -4749,7 +4689,7 @@ namespace rtl_OStringBuffer
void append_086()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 8;
@@ -4768,7 +4708,7 @@ namespace rtl_OStringBuffer
void append_087()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 8;
@@ -4787,7 +4727,7 @@ namespace rtl_OStringBuffer
void append_088()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 8;
@@ -4806,7 +4746,7 @@ namespace rtl_OStringBuffer
void append_089()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 10;
@@ -4825,7 +4765,7 @@ namespace rtl_OStringBuffer
void append_090()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 10;
@@ -4844,7 +4784,7 @@ namespace rtl_OStringBuffer
void append_091()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 10;
@@ -4863,7 +4803,7 @@ namespace rtl_OStringBuffer
void append_092()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 10;
@@ -4882,7 +4822,7 @@ namespace rtl_OStringBuffer
void append_093()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 16;
@@ -4901,7 +4841,7 @@ namespace rtl_OStringBuffer
void append_094()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 16;
@@ -4920,7 +4860,7 @@ namespace rtl_OStringBuffer
void append_095()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 16;
@@ -4939,7 +4879,7 @@ namespace rtl_OStringBuffer
void append_096()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 15;
sal_Int16 radix = 16;
@@ -4958,7 +4898,7 @@ namespace rtl_OStringBuffer
void append_097()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 0;
sal_Int16 radix = 36;
@@ -4977,7 +4917,7 @@ namespace rtl_OStringBuffer
void append_098()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 4;
sal_Int16 radix = 36;
@@ -4996,7 +4936,7 @@ namespace rtl_OStringBuffer
void append_099()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 8;
sal_Int16 radix = 36;
@@ -5015,7 +4955,7 @@ namespace rtl_OStringBuffer
void append_100()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[4] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[4] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = 35;
sal_Int16 radix = 36;
@@ -5099,28 +5039,21 @@ namespace rtl_OStringBuffer
class append_006_Int32_Bounderies : public CppUnit::TestFixture
{
- OString* arrOUS[5];
+ OString arrOUS[5];
public:
void setUp() override
{
- arrOUS[0] = new OString( kTestStr7 );
- arrOUS[1] = new OString( );
- arrOUS[2] = new OString( kTestStr25 );
- arrOUS[3] = new OString( "" );
- arrOUS[4] = new OString( kTestStr28 );
-
- }
-
- void tearDown() override
- {
- delete arrOUS[0]; delete arrOUS[1]; delete arrOUS[2];
- delete arrOUS[3]; delete arrOUS[4];
+ arrOUS[0] = OString( kTestStr7 );
+ arrOUS[1] = OString( );
+ arrOUS[2] = OString( kTestStr25 );
+ arrOUS[3] = OString( "" );
+ arrOUS[4] = OString( kTestStr28 );
}
void append_001()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 2;
@@ -5139,7 +5072,7 @@ namespace rtl_OStringBuffer
void append_002()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 2;
@@ -5158,7 +5091,7 @@ namespace rtl_OStringBuffer
void append_003()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 8;
@@ -5177,7 +5110,7 @@ namespace rtl_OStringBuffer
void append_004()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 8;
@@ -5196,7 +5129,7 @@ namespace rtl_OStringBuffer
void append_005()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 10;
@@ -5215,7 +5148,7 @@ namespace rtl_OStringBuffer
void append_006()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 10;
@@ -5234,7 +5167,7 @@ namespace rtl_OStringBuffer
void append_007()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 16;
@@ -5253,7 +5186,7 @@ namespace rtl_OStringBuffer
void append_008()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 16;
@@ -5272,7 +5205,7 @@ namespace rtl_OStringBuffer
void append_009()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 36;
@@ -5291,7 +5224,7 @@ namespace rtl_OStringBuffer
void append_010()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[0] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[0] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 36;
@@ -5310,7 +5243,7 @@ namespace rtl_OStringBuffer
void append_011()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 2;
@@ -5329,7 +5262,7 @@ namespace rtl_OStringBuffer
void append_012()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 2;
@@ -5348,7 +5281,7 @@ namespace rtl_OStringBuffer
void append_013()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 8;
@@ -5367,7 +5300,7 @@ namespace rtl_OStringBuffer
void append_014()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 8;
@@ -5386,7 +5319,7 @@ namespace rtl_OStringBuffer
void append_015()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 10;
@@ -5405,7 +5338,7 @@ namespace rtl_OStringBuffer
void append_016()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 10;
@@ -5424,7 +5357,7 @@ namespace rtl_OStringBuffer
void append_017()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 16;
@@ -5443,7 +5376,7 @@ namespace rtl_OStringBuffer
void append_018()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 16;
@@ -5462,7 +5395,7 @@ namespace rtl_OStringBuffer
void append_019()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 36;
@@ -5481,7 +5414,7 @@ namespace rtl_OStringBuffer
void append_020()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[1] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[1] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 36;
@@ -5500,7 +5433,7 @@ namespace rtl_OStringBuffer
void append_021()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 2;
@@ -5519,7 +5452,7 @@ namespace rtl_OStringBuffer
void append_022()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 2;
@@ -5538,7 +5471,7 @@ namespace rtl_OStringBuffer
void append_023()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 8;
@@ -5557,7 +5490,7 @@ namespace rtl_OStringBuffer
void append_024()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt32Max;
sal_Int16 radix = 8;
@@ -5576,7 +5509,7 @@ namespace rtl_OStringBuffer
void append_025()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
sal_Int32 input = kSInt8Max;
sal_Int16 radix = 10;
@@ -5595,7 +5528,7 @@ namespace rtl_OStringBuffer
void append_026()
{
- ::rtl::OStringBuffer aStrBuf( *arrOUS[2] );
+ ::rtl::OStringBuffer aStrBuf( arrOUS[2] );
OString expVal( aStrBuf.getStr() );
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list