From 16c3a29849b31029f2a0ac1e8b2425de9c6991de Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Wed, 31 Jul 2013 13:10:40 +0200 Subject: WaE: unused variables Change-Id: I37523f34bdf6e21f5e5781927884bd0311a17fe8 --- sc/qa/extras/macros-test.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx index 9bc3a0f72293..fe9c071abe16 100644 --- a/sc/qa/extras/macros-test.cxx +++ b/sc/qa/extras/macros-test.cxx @@ -79,9 +79,7 @@ void ScMacrosTest::testMSP() Sequence< uno::Any > aParams; SfxObjectShell* pFoundShell = SfxObjectShell::GetShellFromComponent(xComponent); - CPPUNIT_ASSERT_MESSAGE("Failed to access document shell", pFoundShell); - ScDocShell* xDocSh = static_cast(pFoundShell); pFoundShell->CallXScript(xComponent, sUrl, aParams, aRet, aOutParamIndex,aOutParam); OUString sResult; -- cgit v1.2.3