summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/ui/ControlScroller.java
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/ui/ControlScroller.java')
-rw-r--r--wizards/com/sun/star/wizards/ui/ControlScroller.java15
1 files changed, 5 insertions, 10 deletions
diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java
index ed2afa0d38dc..df5131f7b5fa 100644
--- a/wizards/com/sun/star/wizards/ui/ControlScroller.java
+++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java
@@ -38,11 +38,8 @@ public abstract class ControlScroller
protected int iCompPosY;
protected int iCompWidth;
protected int iCompHeight;
- private int iStartPosY;
protected short curtabindex;
- private int iStep;
protected Integer IStep;
- private int linedistance;
int iScrollBarWidth = 10;
private int SORELFIRSTPOSY = 3;
protected int curHelpIndex;
@@ -77,16 +74,14 @@ public abstract class ControlScroller
{
this.nblockincrement = _nblockincrement;
this.CurUnoDialog = _CurUnoDialog;
- this.iStep = _iStep;
this.curHelpIndex = _firsthelpindex;
- curtabindex = UnoDialog.setInitialTabindex(iStep);
- this.linedistance = _nlinedistance;
- IStep = Integer.valueOf(iStep);
+ curtabindex = UnoDialog.setInitialTabindex(_iStep);
+ IStep = Integer.valueOf(_iStep);
this.iCompPosX = _iCompPosX;
this.iCompPosY = _iCompPosY;
this.iCompWidth = _iCompWidth;
- this.iCompHeight = 2 * SORELFIRSTPOSY + nblockincrement * linedistance;
- iStartPosY = iCompPosY + SORELFIRSTPOSY;
+ this.iCompHeight = 2 * SORELFIRSTPOSY + nblockincrement * _nlinedistance;
+ int iStartPosY = iCompPosY + SORELFIRSTPOSY;
int ScrollHeight = iCompHeight - 2;
nlineincrement = 1;
sIncSuffix = com.sun.star.wizards.common.Desktop.getIncrementSuffix(CurUnoDialog.getDlgNameAccess(), "TitleScrollBar");
@@ -105,7 +100,7 @@ public abstract class ControlScroller
for (int i = 0; i < nblockincrement; i++)
{
insertControlGroup(i, ypos);
- ypos += linedistance;
+ ypos += _nlinedistance;
}
}