summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:58:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:17 +0100
commitb4c2496f44c29de0185116f86226df911828f51b (patch)
treebd4dd42b7a7f835b210a512302134364393ea11d /tools
parent5b7050362067e6eace8b303b7d9515075b7e2803 (diff)
bool improvements
Change-Id: Ia3fd76aa70564cbc683d0d66cc39aa368bea29d9
Diffstat (limited to 'tools')
-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 )