summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-23 14:04:56 +0200
committerCaolán McNamara <caolanm@redhat.com>2017-01-23 16:59:48 +0000
commita90a4810aeefbad270978ade194ced3b09d50449 (patch)
tree5545c4d42205a39a08ae085681ec8e04cb427cf5 /cui
parent6d9e4803806d1474039e25092a3c1ee268b0b9f8 (diff)
loplugin: unnecessary destructor: comphelper..desktop
Change-Id: I9df4cb6a4b1734dac6141d6b0ee7a09e3e05f92e Reviewed-on: https://gerrit.libreoffice.org/33453 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/cuitabarea.hxx1
-rw-r--r--cui/source/inc/scriptdlg.hxx1
-rw-r--r--cui/source/options/optasian.cxx6
-rw-r--r--cui/source/options/optlingu.cxx5
-rw-r--r--cui/source/options/optsave.cxx5
5 files changed, 0 insertions, 18 deletions
diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx
index dd941f844e28..073a561b021a 100644
--- a/cui/source/inc/cuitabarea.hxx
+++ b/cui/source/inc/cuitabarea.hxx
@@ -62,7 +62,6 @@ class ButtonBox
{
mnCurrentButton = NO_BUTTON_SELECTED;
};
- ~ButtonBox() {};
void AddButton(VclPtr<PushButton> pButton)
{
maButtonList.push_back(pButton);
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 462285fd0f69..e0281c5e774b 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -121,7 +121,6 @@ public:
const css::uno::Reference< css::script::browse::XBrowseNode >& entryNodes ,
const css::uno::Reference< css::frame::XModel >& entryModel) { nType = nT; nodes = entryNodes; loaded=false; model = entryModel; }
SFEntry( const SFEntry& r ) { nType = r.nType; nodes = r.nodes; loaded = r.loaded; }
- ~SFEntry() {}
const css::uno::Reference< css::script::browse::XBrowseNode >& GetNode() { return nodes ;}
const css::uno::Reference< css::frame::XModel >& GetModel() { return model ;};
bool isLoaded() const { return loaded; }
diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx
index 4e9dfbe161eb..71e50780a5ff 100644
--- a/cui/source/options/optasian.cxx
+++ b/cui/source/options/optasian.cxx
@@ -48,16 +48,10 @@ const sal_Char cCharacterCompressionType[] = "CharacterCompressionType";
struct SvxForbiddenChars_Impl
{
- ~SvxForbiddenChars_Impl();
-
bool bRemoved;
std::unique_ptr<ForbiddenCharacters> pCharacters;
};
-SvxForbiddenChars_Impl::~SvxForbiddenChars_Impl()
-{
-}
-
typedef ::std::map< LanguageType, SvxForbiddenChars_Impl* > SvxForbiddenCharacterMap_Impl;
struct SvxAsianLayoutPage_Impl
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index cd322650e540..d1713c0885d5 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -483,7 +483,6 @@ class SvxLinguData_Impl
public:
SvxLinguData_Impl();
SvxLinguData_Impl( const SvxLinguData_Impl &rData );
- ~SvxLinguData_Impl();
SvxLinguData_Impl & operator = (const SvxLinguData_Impl &rData);
@@ -841,10 +840,6 @@ SvxLinguData_Impl & SvxLinguData_Impl::operator = (const SvxLinguData_Impl &rDat
return *this;
}
-SvxLinguData_Impl::~SvxLinguData_Impl()
-{
-}
-
void SvxLinguData_Impl::SetChecked(const Sequence<OUString>& rConfiguredServices)
{
const OUString* pConfiguredServices = rConfiguredServices.getConstArray();
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index 8ca666b2c533..44f2a9e42c06 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -65,17 +65,12 @@ struct SvxSaveTabPage_Impl
bool bInitialized;
SvxSaveTabPage_Impl();
- ~SvxSaveTabPage_Impl();
};
SvxSaveTabPage_Impl::SvxSaveTabPage_Impl() : bInitialized( false )
{
}
-SvxSaveTabPage_Impl::~SvxSaveTabPage_Impl()
-{
-}
-
// class SvxSaveTabPage --------------------------------------------------
SvxSaveTabPage::SvxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet ) :