diff options
Diffstat (limited to 'stoc/test/testintrosp.cxx')
-rw-r--r-- | stoc/test/testintrosp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index 9e89f6987215..b8ae54460a8c 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -581,7 +581,7 @@ Any ImplIntroTest::getByName( const OUString& aName ) Any aRetAny; if( !pNameAccessTab ) - ((ImplIntroTest*)this)->pNameAccessTab = new Reference< XIntroTest >[ DEFAULT_NAME_ACCESS_COUNT ]; + pNameAccessTab = new Reference< XIntroTest >[ DEFAULT_NAME_ACCESS_COUNT ]; sal_Int32 iIndex = getIndexForName( aName ); if( iIndex != -1 ) @@ -634,7 +634,7 @@ Any ImplIntroTest::getByIndex( sal_Int32 Index ) Any aRetAny; if( !pIndexAccessTab ) - ((ImplIntroTest*)this)->pIndexAccessTab = new Reference< XIntroTest >[ iIndexAccessCount ]; + pIndexAccessTab = new Reference< XIntroTest >[ iIndexAccessCount ]; if( Index < iIndexAccessCount ) { |