diff options
Diffstat (limited to 'stoc/test')
-rw-r--r-- | stoc/test/testconv.cxx | 8 | ||||
-rw-r--r-- | stoc/test/testintrosp.cxx | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx index 415d3c596fed..79f06ab7efeb 100644 --- a/stoc/test/testconv.cxx +++ b/stoc/test/testconv.cxx @@ -585,7 +585,7 @@ static sal_Int32 initBlocks( ConvBlock * pTestBlocks ) pTestBlocks[nElems++] = ConvBlock( aVal, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ); // st,do,fl,u3,i3,u1,i1,by,bo,ch,tc,si,sa // ==SEQ of ANY== - Sequence< Any > aAnySeq( 2 ), aAnySeq2( 2 ), aAnySeq3( 2 ); + Sequence< Any > aAnySeq( 2 ), aAnySeq2( 2 ); Any * pAnySeq = aAnySeq.getArray(); pAnySeq[0] = makeAny( aINT32Seq ); pAnySeq[1] = makeAny( OUString("lala") ); @@ -598,12 +598,6 @@ static sal_Int32 initBlocks( ConvBlock * pTestBlocks ) aVal <<= aAnySeq2; pTestBlocks[nElems++] = ConvBlock( aVal, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 ); // st,do,fl,u3,i3,u1,i1,by,bo,ch,tc,si,sa - pAnySeq = aAnySeq3.getArray(); - pAnySeq[0] <<= OUString("TypeClass_UNION"); - pAnySeq[1] <<= OUString("TypeClass_ENUM"); - aVal <<= aAnySeq3; - pTestBlocks[nElems++] = ConvBlock( aVal, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 ); - // st,do,fl,u3,i3,u1,i1,by,bo,ch,tc,si,sa return nElems; } diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index f6d0860c798b..ef8192faddb7 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -103,10 +103,8 @@ OUString AnyToString( const Any& aValue, sal_Bool bIncludeType, const Reference< case TypeClass_SERVICE: aRetStr = "TYPE SERVICE"; break; case TypeClass_STRUCT: aRetStr = "TYPE STRUCT"; break; case TypeClass_TYPEDEF: aRetStr = "TYPE TYPEDEF"; break; - case TypeClass_UNION: aRetStr = "TYPE UNION"; break; case TypeClass_ENUM: aRetStr = "TYPE ENUM"; break; case TypeClass_EXCEPTION: aRetStr = "TYPE EXCEPTION"; break; - case TypeClass_ARRAY: aRetStr = "TYPE ARRAY"; break; case TypeClass_SEQUENCE: aRetStr = "TYPE SEQUENCE"; break; case TypeClass_VOID: aRetStr = "TYPE void"; break; case TypeClass_ANY: aRetStr = "TYPE any"; break; |