summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-10 10:11:58 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-10 11:06:46 +0200
commit7f25a5a0736c90a70d58fde6afaddd1ae4c24cb6 (patch)
tree4c05bcbcf803e19163eeaa32d69c9b483f1f12ce /vcl
parentbda20c0f39acec27b39556fd7ee1cacfc2813720 (diff)
Add comment wondering what the code thinks it is doing
Change-Id: Icb135c12b2bc159e0542994bb496b45bf1fdb9e2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/gdi/winlayout.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 1b2ca7949f40..691901eac2cf 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -3770,6 +3770,7 @@ bool D2DWriteTextOutRenderer::operator ()(WinLayout const &rLayout, HDC hDC,
bool succeeded = GetDWriteInkBox(*pFontFace, rLayout, lfEmHeight, bounds);
if (pRectToErase)
{
+ // Isn't this equivalent to simply doing: bounds = *pRectToErase ?
bounds.Intersection(*pRectToErase);
bounds.Union(*pRectToErase);
}