summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-06-13 10:09:21 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 09:12:12 -0500
commit294c613da65793bc90e24c7d1339091669f9be07 (patch)
tree79d72720bedd6f8b4e4ec0eaa06e57919450a4db /stoc
parentaadf1b51bb8f489b8aa3fb9e6cc5290ee0164bd2 (diff)
cppcheck:redundantAssignment
(cherry picked from commit 4ea281a3ccb5bd21e1808d8cb127a91a1bb72691) Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
Diffstat (limited to 'stoc')
-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 b8ae54460a8c..43ea55c1cc76 100644
--- a/stoc/test/testintrosp.cxx
+++ b/stoc/test/testintrosp.cxx
@@ -850,9 +850,9 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
Any aObjAny = getIntrospectionTestObject( xMgr );
// inspect introspection service
+ xIntrospection->inspect( aObjAny );
+ xIntrospection->inspect( aObjAny );
Reference< XIntrospectionAccess > xAccess = xIntrospection->inspect( aObjAny );
- xAccess = xIntrospection->inspect( aObjAny );
- xAccess = xIntrospection->inspect( aObjAny );
OSL_ENSURE( xAccess.is(), "introspection failed, no XIntrospectionAccess returned" );
if( !xAccess.is() )
return sal_False;