summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-31 13:10:40 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-31 13:12:04 +0200
commit16c3a29849b31029f2a0ac1e8b2425de9c6991de (patch)
treeae3fb29d7cf343d9a4e8d40392f60d99b5daded5
parent3ab7a98844f9a3453bac23bcd963ad0b171c291a (diff)
WaE: unused variables
Change-Id: I37523f34bdf6e21f5e5781927884bd0311a17fe8
-rw-r--r--sc/qa/extras/macros-test.cxx2
1 files changed, 0 insertions, 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<ScDocShell*>(pFoundShell);
pFoundShell->CallXScript(xComponent, sUrl, aParams, aRet, aOutParamIndex,aOutParam);
OUString sResult;