diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-28 18:11:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-03 19:23:45 +0900 |
commit | 0bd9d5459891e6fb17ee6802878f85e217cb9f54 (patch) | |
tree | 962f6ea26d1fab041fe3476fbbd64132ab8ada1b /lib/kwmf | |
parent | cb258b7e39ffa5662b57e7d9006e69172a378d7e (diff) | |
download | koffice-r14.1.4.tar.gz koffice-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cf85b9c285a2b9baa87c9d0cb9d683b48e82a475)
Diffstat (limited to 'lib/kwmf')
-rw-r--r-- | lib/kwmf/kowmfpaint.h | 6 | ||||
-rw-r--r-- | lib/kwmf/kowmfread.h | 6 | ||||
-rw-r--r-- | lib/kwmf/kowmfwrite.h | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/kwmf/kowmfpaint.h b/lib/kwmf/kowmfpaint.h index 58b27b186..6622a3980 100644 --- a/lib/kwmf/kowmfpaint.h +++ b/lib/kwmf/kowmfpaint.h @@ -99,12 +99,12 @@ private: void drawPie( int x, int y, int w, int h, int a, int alen ); void drawChord( int x, int y, int w, int h, int a, int alen ); void drawPolyline( const TQPointArray& pa ); - void drawPolygon( const TQPointArray& pa, bool winding=FALSE ); + void drawPolygon( const TQPointArray& pa, bool winding=false ); /** * drawPolyPolygon draw the XOR of a list of polygons * listPa : list of polygons */ - void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding=FALSE ); + void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding=false ); void drawImage( int x, int y, const TQImage &, int sx = 0, int sy = 0, int sw = -1, int sh = -1 ); // Text drawing functions @@ -113,7 +113,7 @@ private: void drawText( int x, int y, int w, int h, int flags, const TQString &s, double rotation ); // matrix transformation : only used in some bitmap manipulation - void setWorldMatrix( const TQWMatrix &, bool combine=FALSE ); + void setWorldMatrix( const TQWMatrix &, bool combine=false ); private: TQPainter mPainter; diff --git a/lib/kwmf/kowmfread.h b/lib/kwmf/kowmfread.h index ca1183b11..b4b7b92bf 100644 --- a/lib/kwmf/kowmfread.h +++ b/lib/kwmf/kowmfread.h @@ -131,10 +131,10 @@ public: virtual void drawPie( int x, int y, int w, int h, int a, int alen ) = 0; virtual void drawChord( int x, int y, int w, int h, int a, int alen ) = 0; virtual void drawPolyline( const TQPointArray &pa ) = 0; - virtual void drawPolygon( const TQPointArray &pa, bool winding=FALSE ) = 0; + virtual void drawPolygon( const TQPointArray &pa, bool winding=false ) = 0; // drawPolyPolygon draw the XOR of a list of polygons // listPa : list of polygons - virtual void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding=FALSE ) = 0; + virtual void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding=false ) = 0; virtual void drawImage( int x, int y, const TQImage &, int sx = 0, int sy = 0, int sw = -1, int sh = -1 ) = 0; // Text drawing functions @@ -143,7 +143,7 @@ public: virtual void drawText( int x, int y, int w, int h, int flags, const TQString &s, double rotation ) = 0; // matrix transformation : only used for bitmap manipulation - virtual void setWorldMatrix( const TQWMatrix &, bool combine=FALSE ) = 0; + virtual void setWorldMatrix( const TQWMatrix &, bool combine=false ) = 0; private: KoWmfReadPrivate *mKwmf; diff --git a/lib/kwmf/kowmfwrite.h b/lib/kwmf/kowmfwrite.h index 04ce2c3a2..6972191ba 100644 --- a/lib/kwmf/kowmfwrite.h +++ b/lib/kwmf/kowmfwrite.h @@ -104,10 +104,10 @@ public: void drawPie( int left, int top, int width, int height, int a, int alen ); void drawChord( int left, int top, int width, int height, int a, int alen ); void drawPolyline( const TQPointArray& pa ); - void drawPolygon( const TQPointArray& pa, bool winding=FALSE ); + void drawPolygon( const TQPointArray& pa, bool winding=false ); // drawPolyPolygon draw the XOR of a list of polygons // listPa : list of polygons - void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding=FALSE ); + void drawPolyPolygon( TQPtrList<TQPointArray>& listPa, bool winding=false ); void drawImage( int left, int top, const TQImage &, int sx = 0, int sy = 0, int sw = -1, int sh = -1 ); // Text drawing functions |