summaryrefslogtreecommitdiff
path: root/basctl
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 /basctl
parent07355d267013ad2ea31479d4d745fbc8f88e232e (diff)
callcatcher: update unused code
Change-Id: I43dd399368953c629916dad8104a296f837a6344
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.hxx1
-rw-r--r--basctl/source/basicide/baside2b.cxx23
2 files changed, 0 insertions, 24 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 401553aa26a9..1fc931f3ad39 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -179,7 +179,6 @@ private:
protected:
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle&) SAL_OVERRIDE;
BreakPoint* FindBreakPoint( const Point& rMousePos );
- void ShowMarker(vcl::RenderContext& rRenderContext);
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE;
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 95b6a95d455a..33aa565305de 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1426,29 +1426,6 @@ void BreakPointWindow::SetNoMarker ()
SetMarkerPos(NoMarker);
}
-void BreakPointWindow::ShowMarker(vcl::RenderContext& rRenderContext)
-{
- if (nMarkerPos == NoMarker)
- return;
-
- Size const aOutSz = GetOutputSize();
- long const nLineHeight = GetTextHeight();
-
- Image aMarker = GetImage(bErrorMarker ? IMGID_ERRORMARKER : IMGID_STEPMARKER);
-
- Size aMarkerSz(aMarker.GetSizePixel());
- aMarkerSz = rRenderContext.PixelToLogic(aMarkerSz);
- Point aMarkerOff(0, 0);
- aMarkerOff.X() = (aOutSz.Width() - aMarkerSz.Width()) / 2;
- aMarkerOff.Y() = (nLineHeight - aMarkerSz.Height()) / 2;
-
- sal_uLong nY = nMarkerPos * nLineHeight - nCurYOffset;
- Point aPos(0, nY);
- aPos += aMarkerOff;
-
- rRenderContext.DrawImage(aPos, aMarker);
-}
-
BreakPoint* BreakPointWindow::FindBreakPoint( const Point& rMousePos )
{
size_t nLineHeight = GetTextHeight();