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

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 9 08:15:13 UTC 2019


 chart2/source/controller/main/ControllerCommandDispatch.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7e7e97fc0bd2f3d7b794b3fc064c60ef86e9b72b
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Sat Nov 9 10:33:02 2019 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sat Nov 9 09:14:06 2019 +0100

    Make ControllerCommandDispatch::commandAvailable() more talkative
    
    Change-Id: I7d89a27692c619707ccb8356241422c9578fb081
    Reviewed-on: https://gerrit.libreoffice.org/82345
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/chart2/source/controller/main/ControllerCommandDispatch.cxx b/chart2/source/controller/main/ControllerCommandDispatch.cxx
index 4b732ceae1ac..ffbb53ac7176 100644
--- a/chart2/source/controller/main/ControllerCommandDispatch.cxx
+++ b/chart2/source/controller/main/ControllerCommandDispatch.cxx
@@ -713,7 +713,7 @@ bool ControllerCommandDispatch::commandAvailable( const OUString & rCommand )
     std::map< OUString, bool >::const_iterator aIt( m_aCommandAvailability.find( rCommand ));
     if( aIt != m_aCommandAvailability.end())
         return aIt->second;
-    OSL_FAIL( "commandAvailable: command not in availability map" );
+    SAL_WARN("chart2", "commandAvailable: command not in availability map:" << rCommand);
     return false;
 }
 


More information about the Libreoffice-commits mailing list