summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-21 10:15:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-21 10:07:37 +0000
commit0649622956431e0a1955cb80d1175025401ab5e5 (patch)
treecdaa1ff406d232399d53594ad1a32691402ab665 /svtools
parentede35e5c693a287f31e3c02d8afd33580e827380 (diff)
loplugin:unusedmethods
Change-Id: I52a9f16f3ed543a3c83ca111df70e3f7ae1ef33c Reviewed-on: https://gerrit.libreoffice.org/34508 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/imivctl.hxx1
-rw-r--r--svtools/source/contnr/imivctl1.cxx19
2 files changed, 0 insertions, 20 deletions
diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx
index 59316b045d51..f787bda7fd46 100644
--- a/svtools/source/contnr/imivctl.hxx
+++ b/svtools/source/contnr/imivctl.hxx
@@ -441,7 +441,6 @@ public:
bool bInScrollBarEvent=false
);
- void AdjustEntryAtGrid();
#ifdef DBG_UTIL
void SetEntryTextMode(
SvxIconChoiceCtrlTextMode,
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index eae629111bb4..e5301fd1d0e4 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -2691,25 +2691,6 @@ IMPL_LINK_NOARG(SvxIconChoiceCtrl_Impl, EditTimeoutHdl, Timer *, void)
}
}
-
-// Function to align entries to the grid
-
-
-// pStart == 0: align all entries
-// else: align all entries of the row from pStart on (including pStart)
-void SvxIconChoiceCtrl_Impl::AdjustEntryAtGrid()
-{
- IconChoiceMap aLists;
- pImpCursor->CreateGridAjustData( aLists );
- for (IconChoiceMap::const_iterator iter = aLists.begin();
- iter != aLists.end(); ++iter)
- {
- AdjustAtGrid(iter->second);
- }
- IcnCursor_Impl::DestroyGridAdjustData( aLists );
- CheckScrollBars();
-}
-
// align a row, might expand width, doesn't break the line
void SvxIconChoiceCtrl_Impl::AdjustAtGrid( const SvxIconChoiceCtrlEntryPtrVec& rRow )
{