svx/source/xoutdev/xtabptrn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b4f6abd4ba8c3a65216af3910a32cb1dc089ef5f Author: Rishabh Kumar <kris.kr...@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.mehrbr...@cib.de> Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@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()) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits