summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-05-08 10:03:21 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-05-08 12:28:57 +0200
commit5218ca22b472a80969a715e38d7cb8d052be4b6a (patch)
treefc852cbcfbddfc03b6e405dc2e7e44310cf3c187 /sw
parent59278fa913116482c7d02e0729487ccd153545ae (diff)
Convert OSL_ENSURE to SAL_WARN
Change-Id: I6213bd2b10746416a5e0bc9029c49b0b09a8b0a4 Reviewed-on: https://gerrit.libreoffice.org/71947 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 4e9095568392..a7c5e1cbe6dc 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5561,9 +5561,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
}
break;
default:
-#if OSL_DEBUG_LEVEL > 0
- OSL_ENSURE( false, "unknown command." );
-#endif
+ SAL_WARN("sw.ui", "unknown command.");
break;
}
if (bCallBase)