summaryrefslogtreecommitdiff
path: root/stoc/test
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-29 09:42:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-04-29 10:12:49 +0100
commit626fe1669f7062e04db60ce7757d1c7d32842b3a (patch)
tree4e2174055ca2ba67c392010177bf8a401ba730a1 /stoc/test
parentfc5cd8b5e916dcf97ada18ea7e8458bfd820f0b9 (diff)
redundant cast
Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
Diffstat (limited to 'stoc/test')
-rw-r--r--stoc/test/testintrosp.cxx4
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 )
{