diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-27 10:21:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-27 10:23:35 +0000 |
commit | 7da765dde1800aa607f96e7a5807582ad2894acb (patch) | |
tree | b7c3027f51f9b41133f25c19697965dd28fec7bb /svtools/source/uno/unoevent.cxx | |
parent | c19d2b276b7a28c07315cf60cb0965098a935e5f (diff) |
loplugin:expandablemethods in svtools
Change-Id: I126cc87c890867c3e762f86969a20d64aef63108
Reviewed-on: https://gerrit.libreoffice.org/30314
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/uno/unoevent.cxx')
-rw-r--r-- | svtools/source/uno/unoevent.cxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx index 7cc356abd861..ce3ab34dc636 100644 --- a/svtools/source/uno/unoevent.cxx +++ b/svtools/source/uno/unoevent.cxx @@ -513,16 +513,6 @@ SvMacroTableEventDescriptor::SvMacroTableEventDescriptor( const SvEventDescription* pSupportedMacroItems) : SvDetachedEventDescriptor(pSupportedMacroItems) { - copyMacrosFromTable(rMacroTable); -} - -SvMacroTableEventDescriptor::~SvMacroTableEventDescriptor() -{ -} - -void SvMacroTableEventDescriptor::copyMacrosFromTable( - const SvxMacroTableDtor& rMacroTable) -{ for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != 0; i++) { const sal_uInt16 nEvent = mpSupportedMacroItems[i].mnEvent; @@ -530,7 +520,10 @@ void SvMacroTableEventDescriptor::copyMacrosFromTable( if (nullptr != pMacro) replaceByName(nEvent, *pMacro); } +} +SvMacroTableEventDescriptor::~SvMacroTableEventDescriptor() +{ } void SvMacroTableEventDescriptor::copyMacrosIntoTable( |