[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Aug 18 19:34:52 UTC 2018
sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6c89f41b02fcd8918e535460994daac4ecd5d37e
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Aug 18 19:54:15 2018 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Aug 18 21:34:32 2018 +0200
tdf#119330: fix regression in SfxNotebookBar.cxx
See https://bugs.documentfoundation.org/attachment.cgi?id=144272
Change-Id: Ibe36c0bbacc5a36db03129ce139b3b4b1adbbf39
Reviewed-on: https://gerrit.libreoffice.org/59296
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 9d5a541c9240..c5ba5d5b7809 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -88,6 +88,7 @@ static void lcl_setNotebookbarFileName( vcl::EnumContext::Application eApp, cons
switch ( eApp )
{
case vcl::EnumContext::Application::Writer:
+ case vcl::EnumContext::Application::WriterForm:
officecfg::Office::UI::ToolbarMode::ActiveWriter::set( sFileName, aBatch );
break;
case vcl::EnumContext::Application::Calc:
@@ -110,6 +111,7 @@ static OUString lcl_getNotebookbarFileName( vcl::EnumContext::Application eApp )
switch ( eApp )
{
case vcl::EnumContext::Application::Writer:
+ case vcl::EnumContext::Application::WriterForm:
return officecfg::Office::UI::ToolbarMode::ActiveWriter::get();
break;
case vcl::EnumContext::Application::Calc:
More information about the Libreoffice-commits
mailing list