summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMark Hung <marklm9@gmail.com>2022-05-21 21:11:24 +0800
committerMark Hung <marklh9@gmail.com>2022-05-25 16:10:16 +0200
commit7f77a180dd22e7d07b1840660dc9a6e66463b84f (patch)
treebee51cfd6cbab308e7b0d157bd07d66db32b1e7e /desktop
parenta68629fdf97f181d4c6975f91e66fe52f83247e9 (diff)
sw: refactor and create Justify::SnapToGrid()
Move snapt to grid code from SwFntObj::DrawText() to Justify::SnapToGrid() and create a simple unit test case testSnapToGrid. Note that SnapToGrid() is for "Snap to char is on" case. Change-Id: Ib9b3a08c744216e37dd260434700cbf3f079a0fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134707 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'desktop')
0 files changed, 0 insertions, 0 deletions