summaryrefslogtreecommitdiff
path: root/include/vcl/metaact.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-07-18 18:21:12 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-07-20 22:10:59 +0200
commitcd3d26b7edbce67805259a71e4118223e02ebdd4 (patch)
treefbb103d9877275f80eab075f22a8e0753fccf151 /include/vcl/metaact.hxx
parent8e21a02520cbd2fdc09df1ca675f4aa46a02d5f6 (diff)
vcl consitent use of long for corrdinate
most of length in vcl are calculated in 'long' but array of X position tend to be in sal_Int32. As a prep work to be able to support 'double' as the base type of Device Coordinate, harmonize the use of 'long' for non-float coordinate. Change-Id: I7cb33301ff6a5e2c62247b36a4e07e168a58a323
Diffstat (limited to 'include/vcl/metaact.hxx')
-rw-r--r--include/vcl/metaact.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/metaact.hxx b/include/vcl/metaact.hxx
index 4709d24f57a7..569fd64de23d 100644
--- a/include/vcl/metaact.hxx
+++ b/include/vcl/metaact.hxx
@@ -473,7 +473,7 @@ private:
Point maStartPt;
OUString maStr;
- sal_Int32* mpDXAry;
+ long* mpDXAry;
sal_Int32 mnIndex;
sal_Int32 mnLen;
@@ -486,7 +486,7 @@ public:
MetaTextArrayAction();
MetaTextArrayAction( const MetaTextArrayAction& rAction );
MetaTextArrayAction( const Point& rStartPt, const OUString& rStr,
- const sal_Int32* pDXAry, sal_Int32 nIndex,
+ const long* pDXAry, sal_Int32 nIndex,
sal_Int32 nLen );
virtual void Execute( OutputDevice* pOut ) SAL_OVERRIDE;
@@ -503,7 +503,7 @@ public:
const OUString& GetText() const { return maStr; }
sal_Int32 GetIndex() const { return mnIndex; }
sal_Int32 GetLen() const { return mnLen; }
- sal_Int32* GetDXArray() const { return mpDXAry; }
+ long* GetDXArray() const { return mpDXAry; }
};
class VCL_DLLPUBLIC MetaStretchTextAction : public MetaAction