remove duplicate code, thanks to Petr Mladek for spotting
Change-Id: I136dc9e314197ac100f1f0d12d1f485dc659af9f
This commit is contained in:
parent
cc2d0811c2
commit
7fbab3fc35
1 changed files with 0 additions and 12 deletions
|
@ -2120,18 +2120,6 @@ void Ruler::Resize()
|
|||
mbCalc = sal_True;
|
||||
}
|
||||
|
||||
// Wenn Ruler eine Groesse hat, dann Groesse vom VirtualDevice setzen
|
||||
if ( (mnVirWidth > RULER_MIN_SIZE) ||
|
||||
((aWinSize.Width() > RULER_MIN_SIZE) && (aWinSize.Height() > RULER_MIN_SIZE)) )
|
||||
{
|
||||
if ( mnWinStyle & WB_HORZ )
|
||||
mnVirWidth = aWinSize.Width()-mnVirOff;
|
||||
else
|
||||
mnVirWidth = aWinSize.Height()-mnVirOff;
|
||||
if ( mnVirWidth < RULER_MIN_SIZE )
|
||||
mnVirWidth = 0;
|
||||
}
|
||||
|
||||
// Gegebenenfalls ein Teil vom Rand loeschen, da 3D-Effekt/Trennlinie am
|
||||
// Fensterrand
|
||||
if ( bVisible )
|
||||
|
|
Loading…
Reference in a new issue