diff options
author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2014-03-07 01:57:34 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-09 11:50:58 -0500 |
commit | 17c8678595298e62b602cd5c18ec2df7966164ac (patch) | |
tree | 812d0534fce2a749cf37162cff1570dff04e69bd /filter | |
parent | coverity#707894 Uninitialized scalar field (diff) | |
download | core-17c8678595298e62b602cd5c18ec2df7966164ac.tar.gz core-17c8678595298e62b602cd5c18ec2df7966164ac.zip |
fdo#63154 Remove old solar.h references
Remove some unused references in tools.
Change sal_uLong to sal_uInt32 in filter and vcl.
Change-Id: I92b928b980b2e7371edddfd74face10d5bec07df
Reviewed-on: https://gerrit.libreoffice.org/8480
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/idxf/dxfvec.cxx | 4 | ||||
-rw-r--r-- | filter/source/graphicfilter/idxf/dxfvec.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfvec.cxx b/filter/source/graphicfilter/idxf/dxfvec.cxx index e18d88f2b330..415bbc46148e 100644 --- a/filter/source/graphicfilter/idxf/dxfvec.cxx +++ b/filter/source/graphicfilter/idxf/dxfvec.cxx @@ -221,7 +221,7 @@ LineInfo DXFTransform::Transform(const DXFLineInfo& aDXFLineInfo) const return aLineInfo; } -sal_uLong DXFTransform::TransLineWidth(double fW) const +sal_uInt32 DXFTransform::TransLineWidth(double fW) const { double fex,fey; @@ -229,7 +229,7 @@ sal_uLong DXFTransform::TransLineWidth(double fW) const fey=sqrt(aMY.fx*aMY.fx + aMY.fy*aMY.fy); // ### // printf("fex=%f fey=%f\n", fex, fey); - return (sal_uLong)(fabs(fW)*(fex+fey)/2.0+0.5); + return (sal_uInt32)(fabs(fW)*(fex+fey)/2.0+0.5); } diff --git a/filter/source/graphicfilter/idxf/dxfvec.hxx b/filter/source/graphicfilter/idxf/dxfvec.hxx index a82cf28a56a2..8e936f0bc08f 100644 --- a/filter/source/graphicfilter/idxf/dxfvec.hxx +++ b/filter/source/graphicfilter/idxf/dxfvec.hxx @@ -148,7 +148,7 @@ public: // arbitrary position would be created, sal_False is returned. // (The center point will not be transformed, use Transform(..)) - sal_uLong TransLineWidth(double fW) const; + sal_uInt32 TransLineWidth(double fW) const; // Transforms the thickness of a line (as good as possible) double CalcRotAngle() const; |