Kaydet (Commit) 3d2624a3 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Log a null CGRect as "NULL"

Change-Id: I94ef782a3d4cd86afe4c1e96426df771401a65d3
üst d795dfdf
...@@ -72,7 +72,10 @@ std::ostream &operator <<(std::ostream& s, CGRect &rRect) ...@@ -72,7 +72,10 @@ std::ostream &operator <<(std::ostream& s, CGRect &rRect)
#ifndef SAL_LOG_INFO #ifndef SAL_LOG_INFO
(void) rRect; (void) rRect;
#else #else
s << rRect.size << "@" << rRect.origin; if (CGRectIsNull(rRect))
s << "NULL";
else
s << rRect.size << "@" << rRect.origin;
#endif #endif
return s; return s;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment