starmath/source/cursor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a9d273ed8e05c2524a43ebbc548e1efe0c94c4bb Author: Takeshi Abe <t...@fixedpoint.jp> Date: Sun Jul 10 14:01:39 2016 +0900 starmath: Prefer assert to SAL_WARN here as defined enum cases are exhausted. Change-Id: I6564cc0cd64d593f6aa02f0651ecb490bf7845bd Reviewed-on: https://gerrit.libreoffice.org/27081 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Takeshi Abe <t...@fixedpoint.jp> diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index bae4778..f27dbcd 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -67,7 +67,7 @@ void SmCursor::Move(OutputDevice* pDev, SmMovementDirection direction, bool bMov } break; default: - SAL_WARN("starmath", "Movement direction not supported!"); + assert(false); } if(NewPos){ mpPosition = NewPos; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits