diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-06 16:15:20 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-07 12:49:42 +0300 |
commit | a9cb605b3ac95225d1b1678b4a9a72bca478d95e (patch) | |
tree | 73e3a5a2ac26391c7f2abc39a9f9e6de17852228 | |
parent | 6b9fbc03b84bd97404107973a9d569432b6f74c0 (diff) |
WaE: unsafe mix of type 'sal_Bool' and type 'bool' in operation
-rw-r--r-- | editeng/source/misc/txtrange.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx index 0c16dd5fb46e..9afdb8642b81 100644 --- a/editeng/source/misc/txtrange.cxx +++ b/editeng/source/misc/txtrange.cxx @@ -130,7 +130,7 @@ class SvxBoundArgs sal_Bool bMultiple : 1; sal_Bool bConcat : 1; sal_Bool bRotate : 1; - void NoteRange( sal_Bool bToggle ); + void NoteRange( bool bToggle ); long Cut( long nY, const Point& rPt1, const Point& rPt2 ); void Add(); void _NoteFarPoint( long nPx, long nPyDiff, long nDiff ); @@ -246,7 +246,7 @@ void SvxBoundArgs::_NoteFarPoint( long nPa, long nPbDiff, long nDiff ) NoteMargin( nTmpA, nPbDiff ); } -void SvxBoundArgs::NoteRange( sal_Bool bToggle ) +void SvxBoundArgs::NoteRange( bool bToggle ) { DBG_ASSERT( nMax >= nMin || bInner, "NoteRange: Min > Max?"); if( nMax < nMin ) |