From a9cb605b3ac95225d1b1678b4a9a72bca478d95e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 6 Oct 2011 16:15:20 +0300 Subject: WaE: unsafe mix of type 'sal_Bool' and type 'bool' in operation --- editeng/source/misc/txtrange.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng') 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 ) -- cgit