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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jul 24 09:12:09 UTC 2018


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

New commits:
commit dcbb65f2a4a3ee70ccd4896d7a5e975dbd9e6509
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Jul 24 09:48:28 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Jul 24 11:11:23 2018 +0200

    Avoid com.sun.star.container.NoSuchElementException "Active" (2)
    
    Launch Base, use by default settings then create a form with the wizard
    and look at 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: I8a5e77ca1d51ab1a8e2b73972ad5d9a7acdce36b
    Reviewed-on: https://gerrit.libreoffice.org/57900
    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 77ed3f8c495c..23c2280add7d 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -60,6 +60,7 @@ static OUString lcl_getAppName( vcl::EnumContext::Application eApp )
     switch ( eApp )
     {
         case vcl::EnumContext::Application::Writer:
+        case vcl::EnumContext::Application::WriterForm:
             return OUString( "Writer" );
             break;
         case vcl::EnumContext::Application::Calc:


More information about the Libreoffice-commits mailing list