diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-05 08:47:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 12:57:18 +0200 |
commit | 8130714148d58dd2bf1ef12dcc6dd6d5838be0d1 (patch) | |
tree | bf8cf91d9837b9d03e1e3e336be7eb35667d4de9 /tools/source/generic | |
parent | 54942f0d093e42b06c7a6c10e93d632bfe0c6519 (diff) |
fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
Diffstat (limited to 'tools/source/generic')
-rw-r--r-- | tools/source/generic/poly.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index 5d8f88a0afc2..c1eb8b57efcb 100644 --- a/tools/source/generic/poly.cxx +++ b/tools/source/generic/poly.cxx @@ -1560,9 +1560,9 @@ SvStream& ReadPolygon( SvStream& rIStream, Polygon& rPoly ) } #if (SAL_TYPES_SIZEOFLONG) == 4 #ifdef OSL_BIGENDIAN - if ( rIStream.GetNumberFormatInt() == NUMBERFORMAT_INT_BIGENDIAN ) + if ( rIStream.GetEndian() == SvStreamEndian::BIG ) #else - if ( rIStream.GetNumberFormatInt() == NUMBERFORMAT_INT_LITTLEENDIAN ) + if ( rIStream.GetEndian() == SvStreamEndian::LITTLE ) #endif rIStream.Read( rPoly.mpImplPolygon->mpPointAry, nPoints*sizeof(Point) ); else @@ -1595,9 +1595,9 @@ SvStream& WritePolygon( SvStream& rOStream, const Polygon& rPoly ) // Determine whether we need to write through operators #if (SAL_TYPES_SIZEOFLONG) == 4 #ifdef OSL_BIGENDIAN - if ( rOStream.GetNumberFormatInt() == NUMBERFORMAT_INT_BIGENDIAN ) + if ( rOStream.GetEndian() == SvStreamEndian::BIG ) #else - if ( rOStream.GetNumberFormatInt() == NUMBERFORMAT_INT_LITTLEENDIAN ) + if ( rOStream.GetEndian() == SvStreamEndian::LITTLE ) #endif { if ( nPoints ) |