summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-31 13:22:42 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-31 13:23:31 +0200
commite9dc114a2b47c4f0bb42d69c117afc9e0256fd06 (patch)
treea6d05a0517e9af33f2ad793bff76edfa9e03df98 /sc/qa
parent01b47bffd84c7731634f631cd32803bbbc881ad7 (diff)
Revert "WaE: unused variables"
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/extras/macros-test.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index fe9c071abe16..9bc3a0f72293 100644
--- a/sc/qa/extras/macros-test.cxx
+++ b/sc/qa/extras/macros-test.cxx
@@ -79,7 +79,9 @@ 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;