summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-02-09 21:16:55 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-03-04 09:45:39 +0000
commitfa8a60c76117cdd0f4290fb5afbe7f5c1463d801 (patch)
treee4996b641685a42c3620797d57fef9fcb3f3f26e /cppuhelper
parentbb4a052a768d5936e0e241b15d3c08a56284eeb4 (diff)
svx: change Poly2Rect to return a rectangle, also clean-up the code
There is no need to pass the rectangle by reference and to change it inside the function, better to return a new instance. Also clean-up the code of Poly2Rect and rename the function to svx::polygonToRectangle. Change-Id: I25e77c8abd12e2075939f55e06f40343ac23ca97 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148211 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'cppuhelper')
0 files changed, 0 insertions, 0 deletions