[Libreoffice-commits] core.git: sw/source

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Wed May 8 10:29:56 UTC 2019


 sw/source/uibase/docvw/edtwin.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 5218ca22b472a80969a715e38d7cb8d052be4b6a
Author:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Wed May 8 10:03:21 2019 +0200
Commit:     Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Wed May 8 12:28:57 2019 +0200

    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 at cib.de>

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)


More information about the Libreoffice-commits mailing list