From b4c2496f44c29de0185116f86226df911828f51b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Jan 2014 19:58:14 +0100 Subject: bool improvements Change-Id: Ia3fd76aa70564cbc683d0d66cc39aa368bea29d9 --- tools/source/generic/poly.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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 ) -- cgit v1.2.3