diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:45:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:45:15 +0200 |
commit | 8d6db960d8f3a1eba5a5bcd865429cf4d5df401c (patch) | |
tree | c0a45223af7249d52113b7575dc70355fcfffbfc /starmath | |
parent | 75fd528048885033b0963600667c042834769de7 (diff) |
loplugin:oncevar: empty strings: starmath
Change-Id: I01750964033db223a5f4bd5d0820a7bfb97d4f3d
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/qa/cppunit/test_nodetotextvisitors.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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()); |