summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/quartz/ctlayout.cxx7
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,