diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-05-23 21:24:44 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-07-07 13:15:58 +0300 |
commit | b87799a2fcc225207a9b4342326d8c22be5806ea (patch) | |
tree | 0715a2e6e8e9d1904275c8885b25c4bcba1a13be /vcl | |
parent | 8a85f9f29f13805af449943990af8af8399ab7b5 (diff) |
Add a few more SAL_INFOs
Change-Id: Id379c88c8a8c16f5276568e2bdb5f3730855255f
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/quartz/ctlayout.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/quartz/ctlayout.cxx b/vcl/quartz/ctlayout.cxx index 46c55a394fac..cf440990f3e4 100644 --- a/vcl/quartz/ctlayout.cxx +++ b/vcl/quartz/ctlayout.cxx @@ -98,7 +98,10 @@ CTLayout::CTLayout( const CoreTextStyle* pTextStyle ) CTLayout::~CTLayout() { if( mpCTLine ) + { + SAL_INFO( "vcl.ct", "CFRelease(" << mpCTLine << ")" ); CFRelease( mpCTLine ); + } if( mpAttrString ) CFRelease( mpAttrString ); } @@ -113,7 +116,10 @@ bool CTLayout::LayoutText( ImplLayoutArgs& rArgs ) CFRelease( mpAttrString ); mpAttrString = NULL; if( mpCTLine ) + { + SAL_INFO( "vcl.ct", "CFRelease(" << mpCTLine << ")" ); CFRelease( mpCTLine ); + } mpCTLine = NULL; // initialize the new layout @@ -202,6 +208,7 @@ void CTLayout::AdjustLayout( ImplLayoutArgs& rArgs ) return; } // recreate the CoreText line layout without trailing spaces + SAL_INFO( "vcl.ct", "CFRelease(" << mpCTLine << ")" ); CFRelease( mpCTLine ); CFStringRef aCFText = CFStringCreateWithCharactersNoCopy( NULL, rArgs.mpStr + mnMinCharPos, |