From 8d6db960d8f3a1eba5a5bcd865429cf4d5df401c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 13 Jul 2017 11:45:15 +0200 Subject: loplugin:oncevar: empty strings: starmath Change-Id: I01750964033db223a5f4bd5d0820a7bfb97d4f3d --- starmath/qa/cppunit/test_nodetotextvisitors.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'starmath/qa/cppunit') diff --git a/starmath/qa/cppunit/test_nodetotextvisitors.cxx b/starmath/qa/cppunit/test_nodetotextvisitors.cxx index bc131de94027..aec16ea30738 100644 --- a/starmath/qa/cppunit/test_nodetotextvisitors.cxx +++ b/starmath/qa/cppunit/test_nodetotextvisitors.cxx @@ -572,10 +572,8 @@ void Test::testBinVerInUnary() void Test::testBinHorInSubSup() { - OUString sInput; - // set up a blank formula - SmNode* pTree = SmParser().Parse(sInput); + SmNode* pTree = SmParser().Parse(OUString()); pTree->Prepare(xDocShRef->GetFormat(), *xDocShRef); SmCursor aCursor(pTree, xDocShRef.get()); -- cgit