summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-09-09 08:52:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-09-09 08:52:40 +0200
commit6031d34ec26b988853c4b317945b3b4256813cbc (patch)
tree37732eeceb93e6b8d4ba7e1f7b21a5e6a769cc77 /starmath/source/dialog.cxx
parentd8919a1bcca1aa0b18634be918f6bf08c6c55a3f (diff)
Math: OSL_FAIL -> SAL_WARN
And some cleanup. Change-Id: I2e5239a6f7d0dca5855b80752deae6be27c21af6
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index b75c25da2c0c..6c3d47401450 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1749,11 +1749,7 @@ IMPL_LINK( SmSymDefineDialog, ModifyHdl, ComboBox *, pComboBox )
// allow only names from the list (that's the case here anyway)
SelectStyle(aStyles.GetText(), true);
else
- {
-#if OSL_DEBUG_LEVEL > 1
- OSL_FAIL("Sm : wrong combobox argument");
-#endif
- }
+ SAL_WARN("starmath", "wrong combobox argument");
pComboBox->SetSelection(aSelection);