[Libreoffice-commits] core.git: sc/qa

Fridrich Å trba fridrich.strba at bluewin.ch
Wed Jul 31 04:14:39 PDT 2013


 sc/qa/extras/macros-test.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 16c3a29849b31029f2a0ac1e8b2425de9c6991de
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Wed Jul 31 13:10:40 2013 +0200

    WaE: unused variables
    
    Change-Id: I37523f34bdf6e21f5e5781927884bd0311a17fe8

diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index 9bc3a0f..fe9c071 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;


More information about the Libreoffice-commits mailing list