diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-02-09 09:30:01 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-02-09 18:48:31 +0100 |
commit | 531391239bbd9d9dfc8df4d5f413fd0ab1758b09 (patch) | |
tree | e5cc20e98e1bcff5d5f7ba97d611b49c6ff980f4 /starmath/qa | |
parent | 2dd4ac609461b9011748d29a7251d5c0c685d60d (diff) |
remove unused variables
Change-Id: I7383100f5965578160098f11cdb99bb4e4ce57fa
Diffstat (limited to 'starmath/qa')
-rw-r--r-- | starmath/qa/cppunit/test_nodetotextvisitors.cxx | 8 | ||||
-rw-r--r-- | starmath/qa/cppunit/test_starmath.cxx | 3 |
2 files changed, 4 insertions, 7 deletions
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); |