[Libreoffice-commits] core.git: svx/source
Rishabh Kumar
kris.kr296 at gmail.com
Thu Jul 21 10:41:17 UTC 2016
svx/source/xoutdev/xtabptrn.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b4f6abd4ba8c3a65216af3910a32cb1dc089ef5f
Author: Rishabh Kumar <kris.kr296 at gmail.com>
Date: Thu Jul 21 12:06:55 2016 +0530
Use assert() instead of OSL_ENSURE()
Change-Id: Ide1e8982b1623c10d8447ad32d2b8cb8ee2451af
Reviewed-on: https://gerrit.libreoffice.org/27358
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/svx/source/xoutdev/xtabptrn.cxx b/svx/source/xoutdev/xtabptrn.cxx
index 9cbda46..aaa343d 100644
--- a/svx/source/xoutdev/xtabptrn.cxx
+++ b/svx/source/xoutdev/xtabptrn.cxx
@@ -88,7 +88,7 @@ bool XPatternList::Create()
Bitmap XPatternList::CreateBitmap( long nIndex, const Size& rSize ) const
{
- OSL_ENSURE( nIndex < Count(), "Access out of range" );
+ assert( nIndex < Count() );
if(nIndex < Count())
{
More information about the Libreoffice-commits
mailing list