sfx2/source/view/viewfrm2.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3625dd33be6cc23b663c50f0c1794ceb1e14b921
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Tue Nov 30 16:18:06 2021 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Nov 30 19:49:46 2021 +0100

    sfx2: OSL_FAIL -> SAL_WARN in viewfrm2
    
    Change-Id: I1411073d80f3753b06a02c618ad09bb7acacb9dd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126124
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/sfx2/source/view/viewfrm2.cxx b/sfx2/source/view/viewfrm2.cxx
index 744a8fe1bcb1..e3cdb6b1a207 100644
--- a/sfx2/source/view/viewfrm2.cxx
+++ b/sfx2/source/view/viewfrm2.cxx
@@ -43,6 +43,7 @@
 #include <svl/eitem.hxx>
 #include <svl/stritem.hxx>
 #include <tools/urlobj.hxx>
+#include <sal/log.hxx>
 
 using namespace ::com::sun::star;
 using namespace ::com::sun::star::uno;
@@ -196,7 +197,7 @@ void SfxViewFrame::Exec_Impl(SfxRequest &rReq )
                 aFactName = m_pImpl->aFactoryName;
             else
             {
-                OSL_FAIL("Missing argument!");
+                SAL_WARN("sfx.view", "Missing argument!");
                 break;
             }
 

Reply via email to