summaryrefslogtreecommitdiff
path: root/sw/qa/core
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 10:36:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 13:27:58 +0200
commitc0ce1ec3736be861a2ed58827fadb25269ab0117 (patch)
treef294165ac148084d8584105ecee19ddf57b51dfb /sw/qa/core
parent1abdeff9de5d9257464048bcdf50a6d6fd926c0b (diff)
loplugin:unusedfields in sfx2 part1
and fix a memory leak in NotebookbarTabControl where it was not freeing it's m_pListener field Change-Id: Ib9970c9084982d532fa38d1bc3c44180ab2c3c39 Reviewed-on: https://gerrit.libreoffice.org/39036 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/core')
-rw-r--r--sw/qa/core/filters-test.cxx2
-rw-r--r--sw/qa/core/uwriter.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/core/filters-test.cxx b/sw/qa/core/filters-test.cxx
index 0eff13b14c06..5d072240b6fa 100644
--- a/sw/qa/core/filters-test.cxx
+++ b/sw/qa/core/filters-test.cxx
@@ -82,7 +82,7 @@ bool SwFiltersTest::filter(const OUString &rFilter, const OUString &rURL,
{
std::shared_ptr<const SfxFilter> pFilter(new SfxFilter(
rFilter, OUString(), nFilterFlags,
- nClipboardID, OUString(), 0, OUString(),
+ nClipboardID, OUString(), OUString(),
rUserData, OUString()));
const_cast<SfxFilter*>(pFilter.get())->SetVersion(nFilterVersion);
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index e816a91f0b30..4148d93c40f2 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -190,7 +190,7 @@ void SwDocTest::testFileNameFields()
std::shared_ptr<SfxFilter> pFilter(new SfxFilter(
"Text",
- OUString(), SfxFilterFlags::NONE, SotClipboardFormatId::NONE, OUString(), 0, OUString(),
+ OUString(), SfxFilterFlags::NONE, SotClipboardFormatId::NONE, OUString(), OUString(),
"TEXT", OUString() ));
aDstMed.SetFilter(pFilter);