summaryrefslogtreecommitdiff
path: root/starmath/qa/cppunit
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/qa/cppunit')
-rw-r--r--starmath/qa/cppunit/test_nodetotextvisitors.cxx8
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx3
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);