summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/poly.cxx')
-rw-r--r--tools/source/generic/poly.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 43b19e62f6b3..538a608b4aee 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1522,7 +1522,7 @@ SvStream& operator>>( SvStream& rIStream, Polygon& rPoly )
{
// Determine whether we need to write through operators
#if (SAL_TYPES_SIZEOFLONG) != 4
- if ( 1 )
+ if ( true )
#else
#ifdef OSL_BIGENDIAN
if ( rIStream.GetNumberFormatInt() != NUMBERFORMAT_INT_BIGENDIAN )
@@ -1560,7 +1560,7 @@ SvStream& WritePolygon( SvStream& rOStream, const Polygon& rPoly )
{
// Determine whether we need to write through operators
#if (SAL_TYPES_SIZEOFLONG) != 4
- if ( 1 )
+ if ( true )
#else
#ifdef OSL_BIGENDIAN
if ( rOStream.GetNumberFormatInt() != NUMBERFORMAT_INT_BIGENDIAN )