[Review] fdo#45260 Fixes: objects having line thickness misplaced while pasting

Muthu Subramanian K sumuthu at suse.com
Wed Jul 11 03:30:56 PDT 2012


I was debugging the problem mentioned in fdo#45260 and found a strange 
Copy uses BoundRect()
while Paste uses SnapRect()
And unfortunately both have a comment warning it shouldn't be changed to 
other :(
[But, changing one of them to use common Rect() fixes the issue]

Since the comment in sdview2.cxx is specific to lines and using 
SnapRect() there solves the issue, would this be safe to fix it that 
way, please? Or am I missing some vital information?

Thank you so much!
Muthu Subramanian

More information about the LibreOffice mailing list