summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:39 +0200
commit9fb2a9c895334c88eae7641b26921a3d1ce9c909 (patch)
tree22346d32641fab34ccfd2f73f83093d35774598b /sw/qa
parentfd40ba1e2eb709c34672b0e20052fe4f9130739f (diff)
loplugin:oncevar: empty strings: sw
Change-Id: I38d5669078308b425d8e87090ef72279de96c6c9
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/odfimport/odfimport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx
index a105bd658179..dfd99a246634 100644
--- a/sw/qa/extras/odfimport/odfimport.cxx
+++ b/sw/qa/extras/odfimport/odfimport.cxx
@@ -656,9 +656,8 @@ DECLARE_ODFIMPORT_TEST(testSpellmenuRedline, "spellmenu-redline.odt")
SwXTextDocument* pTextDoc = dynamic_cast<SwXTextDocument *>(mxComponent.get());
CPPUNIT_ASSERT(pTextDoc);
SwWrtShell* pWrtShell = pTextDoc->GetDocShell()->GetWrtShell();
- OUString aParaText;
uno::Reference<linguistic2::XSpellAlternatives> xAlt;
- SwSpellPopup aPopup(pWrtShell, xAlt, aParaText);
+ SwSpellPopup aPopup(pWrtShell, xAlt, OUString());
Menu& rMenu = aPopup.GetMenu();
// Make sure that if we show the spellcheck popup menu (for the current
// document, which contains redlines), then the last two entries will be