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>
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index 9d5a541..c5ba5d5 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: