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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Jul 26 19:27:06 UTC 2018


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

New commits:
commit f85181c817e7c8371b2d18cee0055b3f8c8958d4
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Jul 26 12:23:49 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
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 <serval2412 at yahoo.fr>

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;


More information about the Libreoffice-commits mailing list