diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-04 09:41:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-04 11:52:53 +0200 |
commit | 1e0d5d0c98dd1128c4ab7a9dcc4e9ae2d2878390 (patch) | |
tree | b8e086843ebd746aa281b08045b710e58fbfa884 /sfx2 | |
parent | 89d26a4018626f43af9d3e15d3b9c49abdfde889 (diff) |
loplugin:unusedmethods
Change-Id: If88b11419fc6d483ef689d2199a347c00622e01c
Reviewed-on: https://gerrit.libreoffice.org/52358
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/charwin.cxx | 18 | ||||
-rw-r--r-- | sfx2/source/dialog/basedlgs.cxx | 8 |
2 files changed, 0 insertions, 26 deletions
diff --git a/sfx2/source/control/charwin.cxx b/sfx2/source/control/charwin.cxx index 625cc018e1ae..174d6ec5e759 100644 --- a/sfx2/source/control/charwin.cxx +++ b/sfx2/source/control/charwin.cxx @@ -344,9 +344,6 @@ IMPL_LINK(SvxCharViewControl, ContextMenuSelectHdl, Menu*, pMenu, bool) case 0: maClearClickHdl.Call(this); break; - case 1: - maClearAllClickHdl.Call(this); - break; default: break; } @@ -445,16 +442,6 @@ void SvxCharViewControl::setMouseClickHdl(const Link<SvxCharViewControl*,void> & maMouseClickHdl = rLink; } -void SvxCharViewControl::setClearClickHdl(const Link<SvxCharViewControl*,void> &rLink) -{ - maClearClickHdl = rLink; -} - -void SvxCharViewControl::setClearAllClickHdl(const Link<SvxCharViewControl*,void> &rLink) -{ - maClearAllClickHdl = rLink; -} - void SvxCharViewControl::SetFont( const vcl::Font& rFont ) { long nWinHeight = GetOutputSizePixel().Height(); @@ -491,9 +478,4 @@ void SvxCharViewControl::SetText( const OUString& rText ) Invalidate(); } -void SvxCharViewControl::SetHasInsert( bool bInsert ) -{ - maHasInsert = bInsert; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx index 126d2f9bf511..d62ec7038c98 100644 --- a/sfx2/source/dialog/basedlgs.cxx +++ b/sfx2/source/dialog/basedlgs.cxx @@ -145,14 +145,6 @@ void SfxModalDialog::dispose() ModalDialog::dispose(); } -void SfxModalDialog::CreateOutputItemSet( SfxItemPool& rPool ) -{ - DBG_ASSERT( !pOutputSet, "Double creation of OutputSet!" ); - if (!pOutputSet) - pOutputSet = new SfxAllItemSet( rPool ); -} - - void SfxModalDialog::CreateOutputItemSet( const SfxItemSet& rSet ) { DBG_ASSERT( !pOutputSet, "Double creation of OutputSet!" ); |