From 531391239bbd9d9dfc8df4d5f413fd0ab1758b09 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sat, 9 Feb 2013 09:30:01 +0100 Subject: remove unused variables Change-Id: I7383100f5965578160098f11cdb99bb4e4ce57fa --- starmath/qa/cppunit/test_nodetotextvisitors.cxx | 8 ++++---- starmath/qa/cppunit/test_starmath.cxx | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'starmath') diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx index 8f44185a65eb..b64a5849a459 100644 --- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx +++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx @@ -511,7 +511,7 @@ void Test::ParseAndCheck(const char *formula, const char * expected, const char void Test::testBinomInBinHor() { - String sInput, sExpected, sOutput; + String sInput, sExpected; SmNode* pTree; // set up a binom (table) node @@ -539,7 +539,7 @@ void Test::testBinomInBinHor() void Test::testBinVerInUnary() { - String sInput, sExpected, sOutput; + String sInput, sExpected; SmNode* pTree; // set up a unary operator with operand @@ -570,7 +570,7 @@ void Test::testBinVerInUnary() void Test::testBinHorInSubSup() { - String sInput, sExpected, sOutput; + String sInput, sExpected; SmNode* pTree; // set up a blank formula @@ -601,7 +601,7 @@ void Test::testBinHorInSubSup() void Test::testUnaryInMixedNumberAsNumerator() { - String sInput, sExpected, sOutput; + String sInput, sExpected; SmNode* pTree; // set up a unary operator diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx index e73536f35d1b..f493354748ee 100644 --- a/starmath/qa/cppunit/test_starmath.cxx +++ b/starmath/qa/cppunit/test_starmath.cxx @@ -209,7 +209,6 @@ void Test::editUndoRedo() { m_xDocShRef->Execute(aUndo); - rtl::OUString sFoo = rEditEngine.GetText(); m_xDocShRef->UpdateText(); rtl::OUString sFinalText = m_xDocShRef->GetText(); CPPUNIT_ASSERT_MESSAGE("Strings much match", sStringOne == sFinalText); @@ -217,7 +216,6 @@ void Test::editUndoRedo() { m_xDocShRef->Execute(aUndo); - rtl::OUString sFoo = rEditEngine.GetText(); m_xDocShRef->UpdateText(); rtl::OUString sFinalText = m_xDocShRef->GetText(); CPPUNIT_ASSERT_MESSAGE("Must now be empty", !sFinalText.getLength()); @@ -226,7 +224,6 @@ void Test::editUndoRedo() SfxRequest aRedo(SID_REDO, SFX_CALLMODE_SYNCHRON, m_xDocShRef->GetPool()); { m_xDocShRef->Execute(aRedo); - rtl::OUString sFoo = rEditEngine.GetText(); m_xDocShRef->UpdateText(); rtl::OUString sFinalText = m_xDocShRef->GetText(); CPPUNIT_ASSERT_MESSAGE("Strings much match", sStringOne == sFinalText); -- cgit