summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/regband.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:05:32 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:05:32 +1000
commit768f65105b4f45793bd59331732626f072db9639 (patch)
treecf31d61a9ed1406bf46578124841b902f18be1ed /vcl/source/gdi/regband.cxx
parent34ca5a2fb5085bb38a9ab050f60ac0a2283acd03 (diff)
tdf#43157: convert most of vcl codebase away from OSL_ASSERT to assert
Change-Id: Ifaae7af7169fe6c24d152f8aba51ba3ff3bdb9f8
Diffstat (limited to 'vcl/source/gdi/regband.cxx')
-rw-r--r--vcl/source/gdi/regband.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx
index 08341d6202dc..7d34804866b0 100644
--- a/vcl/source/gdi/regband.cxx
+++ b/vcl/source/gdi/regband.cxx
@@ -863,8 +863,8 @@ bool ImplRegionBand::operator==( const ImplRegionBand& rRegionBand ) const
ImplRegionBand* ImplRegionBand::SplitBand (const sal_Int32 nY)
{
- OSL_ASSERT(nY>mnYTop);
- OSL_ASSERT(nY<=mnYBottom);
+ assert(nY > mnYTop);
+ assert(nY <= mnYBottom);
// Create a copy of the given band (we tell the constructor to copy the points together
// with the seps.)