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

New commits:
commit 24b1ceea96d101d4246cc1722b0a07a333b6713b
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Tue Mar 23 15:41:49 2021 +0530
Commit:     Pranam Lashkari <lpra...@collabora.com>
CommitDate: Wed Mar 24 17:11:46 2021 +0100

    Notebookbar: skip early init in all apps
    
    for more details 42cc32c95db2484961a65c906af1a899c1a6aa2b
    
    Change-Id: I64f1ce22f7e1cbdbab3aea17841030a6313c1c0f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112953
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari <lpra...@collabora.com>

diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx 
b/sfx2/source/notebookbar/SfxNotebookBar.cxx
index fa9b7f06bf13..b5606721a2ff 100644
--- a/sfx2/source/notebookbar/SfxNotebookBar.cxx
+++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx
@@ -348,8 +348,7 @@ bool SfxNotebookBar::StateMethod(SystemWindow* pSysWindow,
             //   * in LOK: Paste Special feature was incorrectly initialized
             // Skip first request so Notebookbar will be initialized after 
document was loaded
             static std::map<const void*, bool> bSkippedFirstInit;
-            if (comphelper::LibreOfficeKit::isActive() && eApp == 
vcl::EnumContext::Application::Writer
-                && bSkippedFirstInit.find(pViewShell) == 
bSkippedFirstInit.end())
+            if (comphelper::LibreOfficeKit::isActive() && 
bSkippedFirstInit.find(pViewShell) == bSkippedFirstInit.end())
             {
                 bSkippedFirstInit[pViewShell] = true;
                 return false;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to