diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 10:19:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 10:19:19 +0000 |
commit | 2265c8789c9587a447cb3ce5479b5450c9e1376a (patch) | |
tree | 61df0f5c07690d137668884016fbfac23b15c0d8 /vcl | |
parent | deecab601a0512c2f621dc070b0ef5f3d6905370 (diff) |
longparas: STRING_LEN gets expanded to string len, so just use str len
Change-Id: I161a94b58c328988bfbfac2922a12d79ec83a9eb
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/wmf/winmtf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx index 30acfc454b5b..f2e7c243d7a2 100644 --- a/vcl/source/filter/wmf/winmtf.cxx +++ b/vcl/source/filter/wmf/winmtf.cxx @@ -1548,7 +1548,7 @@ void WinMtfOutput::DrawText( Point& rPosition, OUString& rText, sal_Int32* pDXAr aVDev.SetFont( maLatestFont ); aVDev.GetTextArray( rText, pDX, 0, rText.getLength()); } - mpGDIMetaFile->AddAction( new MetaTextArrayAction( rPosition, rText, pDX, 0, STRING_LEN ) ); + mpGDIMetaFile->AddAction( new MetaTextArrayAction( rPosition, rText, pDX, 0, rText.getLength() ) ); if ( !pDXArry ) // this means we have created our own array delete[] pDX; // which must be deleted } |