Kaydet (Commit) 53139123 authored tarafından Luboš Luňák's avatar Luboš Luňák

remove unused variables

Change-Id: I7383100f5965578160098f11cdb99bb4e4ce57fa
üst 2dd4ac60
...@@ -511,7 +511,7 @@ void Test::ParseAndCheck(const char *formula, const char * expected, const char ...@@ -511,7 +511,7 @@ void Test::ParseAndCheck(const char *formula, const char * expected, const char
void Test::testBinomInBinHor() void Test::testBinomInBinHor()
{ {
String sInput, sExpected, sOutput; String sInput, sExpected;
SmNode* pTree; SmNode* pTree;
// set up a binom (table) node // set up a binom (table) node
...@@ -539,7 +539,7 @@ void Test::testBinomInBinHor() ...@@ -539,7 +539,7 @@ void Test::testBinomInBinHor()
void Test::testBinVerInUnary() void Test::testBinVerInUnary()
{ {
String sInput, sExpected, sOutput; String sInput, sExpected;
SmNode* pTree; SmNode* pTree;
// set up a unary operator with operand // set up a unary operator with operand
...@@ -570,7 +570,7 @@ void Test::testBinVerInUnary() ...@@ -570,7 +570,7 @@ void Test::testBinVerInUnary()
void Test::testBinHorInSubSup() void Test::testBinHorInSubSup()
{ {
String sInput, sExpected, sOutput; String sInput, sExpected;
SmNode* pTree; SmNode* pTree;
// set up a blank formula // set up a blank formula
...@@ -601,7 +601,7 @@ void Test::testBinHorInSubSup() ...@@ -601,7 +601,7 @@ void Test::testBinHorInSubSup()
void Test::testUnaryInMixedNumberAsNumerator() void Test::testUnaryInMixedNumberAsNumerator()
{ {
String sInput, sExpected, sOutput; String sInput, sExpected;
SmNode* pTree; SmNode* pTree;
// set up a unary operator // set up a unary operator
......
...@@ -209,7 +209,6 @@ void Test::editUndoRedo() ...@@ -209,7 +209,6 @@ void Test::editUndoRedo()
{ {
m_xDocShRef->Execute(aUndo); m_xDocShRef->Execute(aUndo);
rtl::OUString sFoo = rEditEngine.GetText();
m_xDocShRef->UpdateText(); m_xDocShRef->UpdateText();
rtl::OUString sFinalText = m_xDocShRef->GetText(); rtl::OUString sFinalText = m_xDocShRef->GetText();
CPPUNIT_ASSERT_MESSAGE("Strings much match", sStringOne == sFinalText); CPPUNIT_ASSERT_MESSAGE("Strings much match", sStringOne == sFinalText);
...@@ -217,7 +216,6 @@ void Test::editUndoRedo() ...@@ -217,7 +216,6 @@ void Test::editUndoRedo()
{ {
m_xDocShRef->Execute(aUndo); m_xDocShRef->Execute(aUndo);
rtl::OUString sFoo = rEditEngine.GetText();
m_xDocShRef->UpdateText(); m_xDocShRef->UpdateText();
rtl::OUString sFinalText = m_xDocShRef->GetText(); rtl::OUString sFinalText = m_xDocShRef->GetText();
CPPUNIT_ASSERT_MESSAGE("Must now be empty", !sFinalText.getLength()); CPPUNIT_ASSERT_MESSAGE("Must now be empty", !sFinalText.getLength());
...@@ -226,7 +224,6 @@ void Test::editUndoRedo() ...@@ -226,7 +224,6 @@ void Test::editUndoRedo()
SfxRequest aRedo(SID_REDO, SFX_CALLMODE_SYNCHRON, m_xDocShRef->GetPool()); SfxRequest aRedo(SID_REDO, SFX_CALLMODE_SYNCHRON, m_xDocShRef->GetPool());
{ {
m_xDocShRef->Execute(aRedo); m_xDocShRef->Execute(aRedo);
rtl::OUString sFoo = rEditEngine.GetText();
m_xDocShRef->UpdateText(); m_xDocShRef->UpdateText();
rtl::OUString sFinalText = m_xDocShRef->GetText(); rtl::OUString sFinalText = m_xDocShRef->GetText();
CPPUNIT_ASSERT_MESSAGE("Strings much match", sStringOne == sFinalText); CPPUNIT_ASSERT_MESSAGE("Strings much match", sStringOne == sFinalText);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment