Kaydet (Commit) 2265c878 authored tarafından Caolán McNamara's avatar Caolán McNamara

longparas: STRING_LEN gets expanded to string len, so just use str len

Change-Id: I161a94b58c328988bfbfac2922a12d79ec83a9eb
üst deecab60
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment