summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/imivctl2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-22 12:07:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-23 06:19:06 +0000
commit6776fdc63bd4407ebec9267fb492cba9c1a40af2 (patch)
tree56ef463ce80f3b92815847f2ab1f88404f745229 /svtools/source/contnr/imivctl2.cxx
parent0407200401358d3d565438800f55b61fc1a61794 (diff)
loplugin:unusedmethods
Change-Id: I5a72ee666e71b4c5c8f43d327aa7e8eb62d1e51b Reviewed-on: https://gerrit.libreoffice.org/34537 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/contnr/imivctl2.cxx')
-rw-r--r--svtools/source/contnr/imivctl2.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/svtools/source/contnr/imivctl2.cxx b/svtools/source/contnr/imivctl2.cxx
index 0730f7a3ccae..ec4dd39fba4a 100644
--- a/svtools/source/contnr/imivctl2.cxx
+++ b/svtools/source/contnr/imivctl2.cxx
@@ -473,30 +473,6 @@ void IcnCursor_Impl::SetDeltas()
}
}
-void IcnCursor_Impl::CreateGridAjustData( IconChoiceMap& rLists )
-{
- sal_uInt16 nGridRows = (sal_uInt16)(pView->aVirtOutputSize.Height() / pView->nGridDY);
- nGridRows++; // because we round down later!
-
- if( !nGridRows )
- return;
- const size_t nCount = pView->aEntries.size();
- for( size_t nCur = 0; nCur < nCount; nCur++ )
- {
- SvxIconChoiceCtrlEntry* pEntry = pView->aEntries[ nCur ];
- const Rectangle& rRect = pView->GetEntryBoundRect( pEntry );
- short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / pView->nGridDY );
- sal_uInt16 nIns = GetSortListPos( rLists[nY], rRect.Left(), false );
- rLists[ nY ].insert( rLists[ nY ].begin() + nIns, pEntry );
- }
-}
-
-//static
-void IcnCursor_Impl::DestroyGridAdjustData( IconChoiceMap& rLists )
-{
- rLists.clear();
-}
-
IcnGridMap_Impl::IcnGridMap_Impl(SvxIconChoiceCtrl_Impl* pView)
{
_pView = pView;