diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-08 00:45:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-08 02:14:18 +0300 |
commit | 04bcd32641bdc961782b09db43ab35fefa70e8f8 (patch) | |
tree | 2a93c8014dcc7e59a0aafa8746dae766430c4e8a /vcl/coretext | |
parent | 0d6ed6ff7c7c6b3c85283396eb2e165446f4b95f (diff) |
Add SAL_INFO output operator for CoreTextStyleInfo
Change-Id: I83ffefff08fbda920d7394df336671861fcb18f7
Diffstat (limited to 'vcl/coretext')
-rw-r--r-- | vcl/coretext/salcoretextstyle.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcl/coretext/salcoretextstyle.cxx b/vcl/coretext/salcoretextstyle.cxx index 7ec73af9ac43..d01846a186ca 100644 --- a/vcl/coretext/salcoretextstyle.cxx +++ b/vcl/coretext/salcoretextstyle.cxx @@ -120,4 +120,16 @@ void CoreTextStyleInfo::SetColor(void) SafeCFRelease(m_color); } +std::ostream &operator <<(std::ostream& s, CoreTextStyleInfo &rStyle) +{ +#ifndef SAL_LOG_INFO + (void) rStyle; +#else + s << "{Font=" << rStyle.GetFont(); + s << ",Color=" << rStyle.GetColor(); + s << "}"; +#endif + return s; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |