Lines Matching refs:nDiv
983 short nDiv = rSh.GetViewOptions()->GetDivisionX(); in ChangeFly() local
984 if ( nDiv > 0 ) in ChangeFly()
985 aSnap.Width() = Max( (sal_uLong)1, (sal_uLong)aSnap.Width() / nDiv ); in ChangeFly()
986 nDiv = rSh.GetViewOptions()->GetDivisionY(); in ChangeFly()
987 if ( nDiv > 0 ) in ChangeFly()
988 aSnap.Height() = Max( (sal_uLong)1, (sal_uLong)aSnap.Height() / nDiv ); in ChangeFly()
1188 short nDiv = rSh.GetViewOptions()->GetDivisionX(); in ChangeDrawing() local
1189 if ( nDiv > 0 ) in ChangeDrawing()
1190 aSnap.Width() = Max( (sal_uLong)1, (sal_uLong)aSnap.Width() / nDiv ); in ChangeDrawing()
1191 nDiv = rSh.GetViewOptions()->GetDivisionY(); in ChangeDrawing()
1192 if ( nDiv > 0 ) in ChangeDrawing()
1193 aSnap.Height() = Max( (sal_uLong)1, (sal_uLong)aSnap.Height() / nDiv ); in ChangeDrawing()