summaryrefslogtreecommitdiff
path: root/sd/qa
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 /sd/qa
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 'sd/qa')
-rw-r--r--sd/qa/unit/filters-test.cxx2
-rw-r--r--sd/qa/unit/sdmodeltestbase.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/qa/unit/filters-test.cxx b/sd/qa/unit/filters-test.cxx
index 08babce22754..5866c34a537c 100644
--- a/sd/qa/unit/filters-test.cxx
+++ b/sd/qa/unit/filters-test.cxx
@@ -65,7 +65,7 @@ bool SdFiltersTest::load(const OUString &rFilter, const OUString &rURL,
{
std::shared_ptr<const SfxFilter> pFilter(new SfxFilter(
rFilter,
- OUString(), nFilterFlags, nClipboardID, OUString(), 0, OUString(),
+ OUString(), nFilterFlags, nClipboardID, OUString(), OUString(),
rUserData, OUString() ));
const_cast<SfxFilter*>(pFilter.get())->SetVersion(nFilterVersion);
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx
index c416609c6c36..80f6693f568c 100644
--- a/sd/qa/unit/sdmodeltestbase.hxx
+++ b/sd/qa/unit/sdmodeltestbase.hxx
@@ -131,7 +131,7 @@ protected:
OUString::createFromAscii( pFmt->pFilterName ),
OUString(), pFmt->nFormatType, nOptions,
OUString::createFromAscii( pFmt->pTypeName ),
- 0, OUString(),
+ OUString(),
OUString::createFromAscii( pFmt->pUserData ),
"private:factory/simpress*" );
pFilter->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
@@ -168,7 +168,7 @@ protected:
OUString::createFromAscii(pFormat->pFilterName),
OUString(), pFormat->nFormatType, nExportFormat,
OUString::createFromAscii(pFormat->pTypeName),
- 0, OUString(),
+ OUString(),
OUString::createFromAscii(pFormat->pUserData),
"private:factory/simpress*" ));
const_cast<SfxFilter*>(pExportFilter.get())->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
@@ -187,7 +187,7 @@ protected:
OUString::createFromAscii(pFormat->pFilterName),
OUString(), pFormat->nFormatType, nExportFormat,
OUString::createFromAscii(pFormat->pTypeName),
- 0, OUString(),
+ OUString(),
OUString::createFromAscii(pFormat->pUserData),
"private:factory/simpress*" ));
const_cast<SfxFilter*>(pExportFilter.get())->SetVersion(SOFFICE_FILEFORMAT_CURRENT);