diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-20 13:52:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-22 10:28:40 +0200 |
commit | 865535acc3fb2bb8c8ce50649f70628f923a5f54 (patch) | |
tree | c6484b58f9bac40367933b2260b9211553ed109e /svtools | |
parent | c283328f2b1a980a094260c12ca9dabae26e2969 (diff) |
remove RULER_SCROLL constants, unused
Change-Id: I2ca7500ad521157fe5dfae85072e4e9006e1dac3
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ruler.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 44d507cd9d5a..d65875ce26f9 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -239,7 +239,6 @@ void Ruler::ImplInit( WinBits nWinBits ) mnUpdateEvtId = 0; // Update event was not sent yet mnDragAryPos = 0; // Drag-Array-Index mnDragSize = 0; // Did size change at dragging - mnDragScroll = 0; // Should scroll when dragging mnDragModifier = 0; // Modifier key at dragging mnExtraStyle = 0; // Style of Extra field mnExtraClicks = 0; // No. of clicks for Extra field @@ -1908,12 +1907,10 @@ void Ruler::ImplDrag( const Point& rPos ) if ( nX < mpData->nRulVirOff ) { nX = mpData->nRulVirOff; - mnDragScroll = RULER_SCROLL_1; } else if ( nX > mpData->nRulVirOff+mpData->nRulWidth ) { nX = mpData->nRulVirOff+mpData->nRulWidth; - mnDragScroll = RULER_SCROLL_2; } nX -= mpData->nNullVirOff; @@ -1959,8 +1956,6 @@ void Ruler::ImplDrag( const Point& rPos ) if ( mbFormat ) Paint(Rectangle()); } - - mnDragScroll = 0; } void Ruler::ImplEndDrag() @@ -1985,7 +1980,6 @@ void Ruler::ImplEndDrag() mbDragCanceled = false; mbDragDelete = false; mnDragModifier = 0; - mnDragScroll = 0; mnStartDragPos = 0; // redraw |