diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-07-10 14:01:39 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-07-11 09:59:38 +0000 |
commit | a9d273ed8e05c2524a43ebbc548e1efe0c94c4bb (patch) | |
tree | 4f22f9b8fe1fccb34311f49698e62dc5218af9a5 /starmath | |
parent | tdf#99512 - opencl - restrict scope of vlookup optimization to doubles. (diff) | |
download | core-a9d273ed8e05c2524a43ebbc548e1efe0c94c4bb.tar.gz core-a9d273ed8e05c2524a43ebbc548e1efe0c94c4bb.zip |
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 <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/cursor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index bae47789bd31..f27dbcd3a0d1 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; |