diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 11:33:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 11:33:58 +0000 |
commit | 9407f45186dde4be86ed6f8360098903da79b730 (patch) | |
tree | e47681e826b9a92743a14fbbfe496c85d467d69c /vcl/source/control/fixed.cxx | |
parent | 77e7702250359f9398737e3a4af1bb9b4cc9c1c9 (diff) |
longparas: STRING_LEN here means text len, so expand to just that
Change-Id: Iec55f8976ca180e380c9679c561aae61c0607520
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r-- | vcl/source/control/fixed.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 165391654001..76a5dc93182d 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -622,7 +622,7 @@ void FixedLine::ImplDraw( bool bLayout ) aStartPt.Y() -= (aOutSize.Height() - nWidth)/2; Point aTextPt( aStartPt ); aTextPt.X() -= GetTextHeight()/2; - DrawText( aTextPt, aText, 0, STRING_LEN, pVector, pDisplayText ); + DrawText( aTextPt, aText, 0, aText.getLength(), pVector, pDisplayText ); Pop(); if( aOutSize.Height() - aStartPt.Y() > FIXEDLINE_TEXT_BORDER ) aDecoView.DrawSeparator( Point( aStartPt.X(), aOutSize.Height()-1 ), |