sfx2/source/notebookbar/SfxNotebookBar.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit f85181c817e7c8371b2d18cee0055b3f8c8958d4
Author:     Julien Nabet <[email protected]>
AuthorDate: Thu Jul 26 12:23:49 2018 +0200
Commit:     Julien Nabet <[email protected]>
CommitDate: Thu Jul 26 21:26:39 2018 +0200

    Avoid com.sun.star.container.NoSuchElementException "Active" (3)
    
    Launch Math and notice this kind of logs:
    warn:unotools:4125:4125:unotools/source/config/confignode.cxx:444: 
DBG_UNHANDLED_EXCEPTION
    in com::sun::star::uno::Any utl::OConfigurationNode::getNodeValue(const 
rtl::OUString&) const
    type: com.sun.star.container.NoSuchElementException
    message: Active
    context: configmgr::RootAccess
    
    Change-Id: I4bb1af5caaf53086c243cc8e3a2746ff61cbb869
    Reviewed-on: https://gerrit.libreoffice.org/58081
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <[email protected]>

diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx 
b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index 23c2280add7d..9d5a541c9240 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -72,6 +72,9 @@ static OUString lcl_getAppName( vcl::EnumContext::Application 
eApp )
         case vcl::EnumContext::Application::Draw:
             return OUString( "Draw" );
             break;
+        case vcl::EnumContext::Application::Formula:
+            return OUString( "Formula" );
+            break;
         default:
             return OUString();
             break;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to