[Libreoffice-commits] .: Branch 'feature/rb7' - vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Oct 30 13:21:56 PDT 2012
vcl/win/source/gdi/salgdi_gdiplus.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit d0ea30f8ea40c0e0824d07d16cf64f51b481f8e4
Author: Andras Timar <atimar at suse.com>
Date: Tue Oct 30 21:10:57 2012 +0100
Use the flat GdiPlus API for LineCaps calls, too
Change-Id: I264df7f0e9f07aba2e37e887bb13ca6d7a1674f9
diff --git a/vcl/win/source/gdi/salgdi_gdiplus.cxx b/vcl/win/source/gdi/salgdi_gdiplus.cxx
index 54ee560..a6aa5ce 100644
--- a/vcl/win/source/gdi/salgdi_gdiplus.cxx
+++ b/vcl/win/source/gdi/salgdi_gdiplus.cxx
@@ -242,14 +242,14 @@ bool WinSalGraphics::drawPolyLine(
}
case com::sun::star::drawing::LineCap_ROUND:
{
- aTestPen.SetStartCap(Gdiplus::LineCapRound);
- aTestPen.SetEndCap(Gdiplus::LineCapRound);
+ Gdiplus::DllExports::GdipSetPenStartCap(pTestPen, Gdiplus::LineCapRound);
+ Gdiplus::DllExports::GdipSetPenEndCap(pTestPen, Gdiplus::LineCapRound);
break;
}
case com::sun::star::drawing::LineCap_SQUARE:
{
- aTestPen.SetStartCap(Gdiplus::LineCapSquare);
- aTestPen.SetEndCap(Gdiplus::LineCapSquare);
+ Gdiplus::DllExports::GdipSetPenStartCap(pTestPen, Gdiplus::LineCapSquare);
+ Gdiplus::DllExports::GdipSetPenEndCap(pTestPen, Gdiplus::LineCapSquare);
break;
}
}
More information about the Libreoffice-commits
mailing list