diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-06 13:43:29 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-07 01:13:32 +0300 |
commit | ca9ceb2011d4597cee4df1987a9a806bc95a6f65 (patch) | |
tree | 53c79d7a845bf94d548707800aa24b340a0cdbae /vcl | |
parent | efe842ab529646061756e0dfe9b19f8b43a31385 (diff) |
Log the ImplLayoutArgs parameter in AdjustLayout().
Change-Id: Ib875973d31f71bab75973f683621118eb9cb927b
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/gdi/atsui/salatslayout.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/vcl/aqua/source/gdi/atsui/salatslayout.cxx b/vcl/aqua/source/gdi/atsui/salatslayout.cxx index 55f391c1c381..ec28a70fb493 100644 --- a/vcl/aqua/source/gdi/atsui/salatslayout.cxx +++ b/vcl/aqua/source/gdi/atsui/salatslayout.cxx @@ -301,8 +301,7 @@ bool ATSLayout::LayoutText( ImplLayoutArgs& rArgs ) **/ void ATSLayout::AdjustLayout( ImplLayoutArgs& rArgs ) { - SAL_INFO("vcl.atsui.layout", "AdjustLayout(" << this << "): " << - rArgs.mnLength << ":" << rArgs.mnMinCharPos << "--" << rArgs.mnEndCharPos << ", width=" << rArgs.mnLayoutWidth); + SAL_INFO("vcl.atsui.layout", "AdjustLayout(" << this << ",rArgs=" << rArgs << ")" ); int nOrigWidth = GetTextWidth(); int nPixelWidth = rArgs.mnLayoutWidth; if( !nPixelWidth && rArgs.mpDXArray ) { @@ -382,6 +381,8 @@ void ATSLayout::AdjustLayout( ImplLayoutArgs& rArgs ) **/ void ATSLayout::DrawText( SalGraphics& rGraphics ) const { + SAL_INFO( "vcl.atsui.layout", "DrawText(" << this << ") mnCharCount=" << mnCharCount << ", mnGlyphCount=" << mnGlyphCount ); + AquaSalGraphics& rAquaGraphics = static_cast<AquaSalGraphics&>(rGraphics); // short circuit if there is nothing to do @@ -734,11 +735,12 @@ long ATSLayout::FillDXArray( sal_Int32* pDXArray ) const **/ int ATSLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const { - SAL_INFO("vcl.atsui.layout", "GetTextBreak(" << this << "," << nCharExtra << "," << nFactor << ")" << - (maATSULayout == NULL ? " no layout" : "")); + SAL_INFO("vcl.atsui.layout", "GetTextBreak(" << this << ",nMaxWidth=" << nMaxWidth << ",nCharExtra=" << nCharExtra << ",nFactor=" << nFactor << ")" ); - if( !maATSULayout ) + if( !maATSULayout ) { + SAL_INFO( "vcl.atsui.layout", "GetTextBreak(): no maATSULayout, returning STRING_LEN" ); return STRING_LEN; + } // the semantics of the legacy use case (nCharExtra!=0) cannot be mapped to ATSUBreakLine() if( nCharExtra != 0 ) |