summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-06-25 07:14:44 +0200
committerTor Lillqvist <tml@collabora.com>2020-06-25 08:13:24 +0200
commitf583d42c48c2ac5a800d29e764df77f7904c432b (patch)
treeb1839e3ef99a009dfa66d6a9a4874036dd6e29fb /starmath
parentd046bad4fad89b1afeed78703afa695528338299 (diff)
Revert "tdf#128502: Try to support multiple documents in LibreOfficeKit-using process"
This reverts commit 3d9e60524fcb4d62fbf17af0ccd1f9613b1b8470. Reason for revert: The commit dc13c656dc25ed35c31bec7b6c8ae7d0c6b258e3 that was merged in the meantime means that this change that now is reverted doesn't compile, and besides it doesn't handle the additional SfxViewShell loop that dc13c656dc25ed35c31bec7b6c8ae7d0c6b258e3 introduced. More work needed... Change-Id: I9886445d2f7b6ce939546c0673bdb8a32afe1abf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97053 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/smmod.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx
index 93f27da82eef..32cd5550d9e5 100644
--- a/starmath/source/smmod.cxx
+++ b/starmath/source/smmod.cxx
@@ -139,9 +139,6 @@ void SmModule::ApplyColorConfigValues( const svtools::ColorConfig &rColorCfg )
SfxViewShell* pViewShell = SfxViewShell::GetFirst();
while (pViewShell)
{
- // FIXME: What if pViewShell is for a different document,
- // but OTOH Math is presumably never used through
- // LibreOfficeKit, so maybe an irrelevant concern?
if (dynamic_cast<const SmViewShell *>(pViewShell) != nullptr)
{
SmViewShell *pSmView = static_cast<SmViewShell *>(pViewShell);