diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-08-18 19:54:15 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-08-18 21:34:32 +0200 |
commit | 6c89f41b02fcd8918e535460994daac4ecd5d37e (patch) | |
tree | bac767460cf1f73ac6ffd5267223a6f42c56f840 /sfx2 | |
parent | d21298e3b108b0dfdb1515248068314757cf4dd7 (diff) |
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@yahoo.fr>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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: |