32 return (( nCurrent + nMultiple / 2 ) - ( nCurrent + nMultiple / 2 ) % nMultiple);
45 sal_uInt16 nNew = nCurrent + 0.5;
50 }
else if ( nNew > 500 ) {
52 }
else if ( nNew > 100 ) {
54 }
else if ( nNew > 50 ) {
69static sal_uInt16
enforceStep(sal_uInt16 nCurrent, sal_uInt16 nPrevious,
unsigned int nStep)
71 if ((( nCurrent > nStep ) && ( nPrevious < nStep ))
72 || (( nCurrent < nStep ) && ( nPrevious > nStep )))
83sal_uInt16
zoomIn(sal_uInt16 nCurrent)