summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-18 11:15:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-18 15:50:02 +0100
commit0c0228c4887ac3534cfb6679886f459850a65777 (patch)
tree6d60069fdbd55c36d67d30f4df95dbdd65732e7e /svtools
parent07355d267013ad2ea31479d4d745fbc8f88e232e (diff)
callcatcher: update unused code
Change-Id: I43dd399368953c629916dad8104a296f837a6344
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/imivctl.hxx2
-rw-r--r--svtools/source/contnr/imivctl1.cxx10
-rw-r--r--svtools/source/contnr/treelistbox.cxx7
-rw-r--r--svtools/source/control/tabbar.cxx17
4 files changed, 0 insertions, 36 deletions
diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx
index 9673800b2e8c..9da5b13038b2 100644
--- a/svtools/source/contnr/imivctl.hxx
+++ b/svtools/source/contnr/imivctl.hxx
@@ -364,7 +364,6 @@ public:
void LoseFocus();
void SetUpdateMode( bool bUpdate );
bool GetUpdateMode() const { return bUpdateMode; }
- void PaintEntry(SvxIconChoiceCtrlEntry* pEntry, bool bIsBackgroundPainted = false);
void PaintEntry(SvxIconChoiceCtrlEntry*, const Point&, vcl::RenderContext& rRenderContext, bool bIsBackgroundPainted = false);
void SetEntryPos(
@@ -389,7 +388,6 @@ public:
SvxIconChoiceCtrlEntry* GetEntry( const Point& rDocPos, bool bHit = false );
- static Point GetEntryPos( SvxIconChoiceCtrlEntry* );
void MakeEntryVisible( SvxIconChoiceCtrlEntry* pEntry, bool bBound = true );
void Arrange(
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 64dbe4d3bf50..1d951235b57c 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -1518,11 +1518,6 @@ void SvxIconChoiceCtrl_Impl::SetUpdateMode( bool bUpdate )
}
}
-void SvxIconChoiceCtrl_Impl::PaintEntry(SvxIconChoiceCtrlEntry* pEntry, bool /*bIsBackgroundPainted*/)
-{
- pView->Invalidate(CalcFocusRect(pEntry));
-}
-
// priorities of the emphasis: bDropTarget => bCursored => bSelected
void SvxIconChoiceCtrl_Impl::PaintEmphasis(const Rectangle& rTextRect, const Rectangle& rImageRect, bool bSelected,
bool bDropTarget, bool bCursored, vcl::RenderContext& rRenderContext, bool bIsBackgroundPainted)
@@ -1822,11 +1817,6 @@ SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetEntry( const Point& rDocPos,
return 0;
}
-Point SvxIconChoiceCtrl_Impl::GetEntryPos( SvxIconChoiceCtrlEntry* pEntry )
-{
- return pEntry->aRect.TopLeft();
-}
-
void SvxIconChoiceCtrl_Impl::MakeEntryVisible( SvxIconChoiceCtrlEntry* pEntry, bool bBound )
{
if ( bBound )
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 3b27f3d4ce2a..bdf372cfdd02 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -2855,13 +2855,6 @@ void SvTreeListBox::ImplInitStyle()
Invalidate();
}
-void SvTreeListBox::PaintEntry(SvTreeListEntry* pEntry, vcl::RenderContext& rRenderContext)
-{
- DBG_ASSERT(pEntry,"PaintEntry:No Entry");
- if (pEntry)
- pImp->PaintEntry(pEntry, rRenderContext);
-}
-
void SvTreeListBox::InvalidateEntry(SvTreeListEntry* pEntry)
{
DBG_ASSERT(pEntry,"InvalidateEntry:No Entry");
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 291786f43ca8..b2930714fb59 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -1657,23 +1657,6 @@ ImplTabBarItem* TabBar::ImplGetLastTabBarItem( sal_uInt16 nItemCount )
return pItem;
}
-Rectangle TabBar::ImplGetInsertTabRect(ImplTabBarItem* pItem) const
-{
- if (mbHasInsertTab && pItem)
- {
- sal_Int32 aScaleFactor = GetDPIScaleFactor();
- sal_Int32 nInsertTabWidth = aScaleFactor * INSERT_TAB_WIDTH;
- Rectangle aInsTabRect = pItem->maRect;
- if (!mbMirrored)
- aInsTabRect.setX(aInsTabRect.getX() + aInsTabRect.getWidth());
- else
- aInsTabRect.setX(aInsTabRect.getX() - nInsertTabWidth);
- aInsTabRect.setWidth(nInsertTabWidth);
- return aInsTabRect;
- }
- return Rectangle();
-}
-
bool TabBar::DeactivatePage()
{
return true;