diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-11-03 11:59:09 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-11-03 13:19:04 +0100 |
commit | d711d4430e6c44ef362928f1c1d7179bc3db1471 (patch) | |
tree | 7383f2a801a793f03f24ae990f1e3b3097db4784 | |
parent | c5f85e8229852cf3edcef6836880a113658ef1c2 (diff) |
notebookbar: don't block init in calc
Change-Id: I7fdebcf317c8ebd3e322c1f73d9a4e7df30ecd27
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105240
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r-- | sfx2/source/notebookbar/SfxNotebookBar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/notebookbar/SfxNotebookBar.cxx b/sfx2/source/notebookbar/SfxNotebookBar.cxx index a50db24cc07b..e854a5e047d7 100644 --- a/sfx2/source/notebookbar/SfxNotebookBar.cxx +++ b/sfx2/source/notebookbar/SfxNotebookBar.cxx @@ -377,7 +377,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() + if (comphelper::LibreOfficeKit::isActive() && eApp == vcl::EnumContext::Application::Writer && bSkippedFirstInit.find(pViewShell) == bSkippedFirstInit.end()) { bSkippedFirstInit[pViewShell] = true; |