let move this back so scoping doesn't clobber us
This commit is contained in:
parent
7748fba40a
commit
2e5e373097
1 changed files with 4 additions and 3 deletions
|
@ -1118,6 +1118,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const String& rText,
|
|||
{
|
||||
sal_Int32 nLen = rText.Len();
|
||||
Size aNormSize;
|
||||
boost::shared_array<sal_Int32> xTmpArray;
|
||||
sal_Int32* pDX;
|
||||
Point aPos;
|
||||
Point aBaseLinePos( rPos );
|
||||
|
@ -1142,9 +1143,9 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const String& rText,
|
|||
}
|
||||
else
|
||||
{
|
||||
boost::shared_array<sal_Int32> apTmpArray(new sal_Int32[ nLen ]);
|
||||
aNormSize = Size( mpVDev->GetTextArray( rText, apTmpArray.get() ), 0 );
|
||||
pDX = apTmpArray.get();
|
||||
xTmpArray.reset(new sal_Int32[ nLen ]);
|
||||
aNormSize = Size( mpVDev->GetTextArray( rText, xTmpArray.get() ), 0 );
|
||||
pDX = xTmpArray.get();
|
||||
}
|
||||
|
||||
// if text is rotated, set transform matrix at new g element
|
||||
|
|
Loading…
Reference in a new issue