diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-18 11:15:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-18 15:50:02 +0100 |
commit | 0c0228c4887ac3534cfb6679886f459850a65777 (patch) | |
tree | 6d60069fdbd55c36d67d30f4df95dbdd65732e7e /basctl | |
parent | 07355d267013ad2ea31479d4d745fbc8f88e232e (diff) |
callcatcher: update unused code
Change-Id: I43dd399368953c629916dad8104a296f837a6344
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 23 |
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(); |