summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ruler.cxx6
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