diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-14 11:14:33 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-15 15:45:07 +0300 |
commit | 11c85aa540807e37a748c154a9c72e49e539b160 (patch) | |
tree | c0b3fe2796f81e791b411f08980707191d28a3b3 | |
parent | 2f8757e961d6156d529c2ab9131747071236f085 (diff) |
Avoid "<Error>: clip: empty path" messages
Change-Id: I6f640c0c4459f8330261ca59145a10b7a624bbe8
-rw-r--r-- | vcl/coretext/salgdi2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/coretext/salgdi2.cxx b/vcl/coretext/salgdi2.cxx index 5db35d40cf1e..caf4b77f4fb6 100644 --- a/vcl/coretext/salgdi2.cxx +++ b/vcl/coretext/salgdi2.cxx @@ -897,8 +897,8 @@ bool SvpSalGraphics::CheckContext() } } - CGContextClip(mrContext); - + if (!CGContextIsPathEmpty(mrContext)) + CGContextClip(mrContext); } |