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