sc/qa/extras/macros-test.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit e9dc114a2b47c4f0bb42d69c117afc9e0256fd06 Author: Fridrich Å trba <fridrich.st...@bluewin.ch> Date: Wed Jul 31 13:22:42 2013 +0200
Revert "WaE: unused variables" This reverts commit 16c3a29849b31029f2a0ac1e8b2425de9c6991de. diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx index fe9c071..9bc3a0f 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;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits