summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-05 18:03:25 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-07 05:57:17 +0000
commit70f87284c6ce77a49b1fac1431cea206f4b1dfa9 (patch)
treef979810ab0761169d094385940612aa1477056d6 /writerperfect
parent37a6bafea8416541d7d250d66a9e951400b197a3 (diff)
improve defaultparams loplugin
to catch calling params with defaults like "= OUSString()" Change-Id: Iad060e318ed492c22f8be44e326174fe6d28fff9 Reviewed-on: https://gerrit.libreoffice.org/22932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/qa/unit/WpftImportTestBase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/qa/unit/WpftImportTestBase.cxx b/writerperfect/qa/unit/WpftImportTestBase.cxx
index 8b66c3b64f5a..ac785038b60c 100644
--- a/writerperfect/qa/unit/WpftImportTestBase.cxx
+++ b/writerperfect/qa/unit/WpftImportTestBase.cxx
@@ -172,14 +172,14 @@ bool WpftImportTestBase::load(const OUString &, const OUString &rURL, const OUSt
void WpftImportTestBase::doTest(const rtl::OUString &rFilter, const rtl::OUString &rPath)
{
m_xFilter.set(m_xFactory->createInstanceWithContext(rFilter, m_xContext), uno::UNO_QUERY_THROW);
- testDir(OUString(), getURLFromSrc(rPath), OUString());
+ testDir(OUString(), getURLFromSrc(rPath));
}
void WpftImportTestBase::doTest(const rtl::OUString &rFilter, const rtl::OUString &rPath, const WpftOptionalMap_t &rOptionalMap)
{
m_xFilter.set(m_xFactory->createInstanceWithContext(rFilter, m_xContext), uno::UNO_QUERY_THROW);
m_pOptionalMap = &rOptionalMap;
- testDir(OUString(), getURLFromSrc(rPath), OUString());
+ testDir(OUString(), getURLFromSrc(rPath));
m_pOptionalMap = nullptr;
}