summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/notebookbar/SfxNotebookBar.cxx2
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: