diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-10-05 11:53:53 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-10-05 11:53:53 +0000 |
commit | 27fc6eef894e3dab71a09e5a81de5beb1a50f4f5 (patch) | |
tree | 5420f6272d7941904438904ea54682404c8a5391 /filter/source/svg/svgwriter.cxx | |
parent | 2a3a987ba0b6ebafef6fc8097efce4d3f5b6b8cb (diff) |
INTEGRATION: CWS dxarray (1.5.6); FILE MERGED
2005/09/19 11:41:24 kendy 1.5.6.1: #i54697#
"long *pDXArray" -> "sal_Int32 *pDXArray" patches extracted from ooo64bit02 to conform the declaration in VCL.
Diffstat (limited to 'filter/source/svg/svgwriter.cxx')
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 63a67cd4c827..6e611d5e3efd 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svgwriter.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-08 21:57:04 $ + * last change: $Author: kz $ $Date: 2005-10-05 12:53:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -698,7 +698,7 @@ void SVGActionWriter::ImplWriteGradientEx( const PolyPolygon& rPolyPoly, const G // ----------------------------------------------------------------------------- void SVGActionWriter::ImplWriteText( const Point& rPos, const String& rText, - const long* pDXArray, long nWidth, + const sal_Int32* pDXArray, long nWidth, const NMSP_RTL::OUString* pStyle ) { long nLen = rText.Len(), i; @@ -706,19 +706,19 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const String& rText, if( nLen ) { Size aNormSize; - long* pOwnArray; - long* pDX; + sal_Int32* pOwnArray; + sal_Int32* pDX; // get text sizes if( pDXArray ) { pOwnArray = NULL; aNormSize = Size( mpVDev->GetTextWidth( rText ), 0 ); - pDX = (long*) pDXArray; + pDX = (sal_Int32*) pDXArray; } else { - pOwnArray = new long[ nLen ]; + pOwnArray = new sal_Int32[ nLen ]; aNormSize = Size( mpVDev->GetTextArray( rText, pOwnArray ), 0 ); pDX = pOwnArray; } |