summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2016-01-20 22:12:33 +0100
committerJan Holesovsky <kendy@collabora.com>2016-01-21 08:53:30 +0100
commit4d2034803646bf88b76ed8a3b897edd7209ce30a (patch)
treed63d486a7acc17348a18ed89218a47d9086df616 /sc/source
parentf78de4441508fc81b1e013b907903df9ac4fe664 (diff)
sc lok: Fix .uno:Name (renaming sheets) to really accept parameters.
The code handles them, but they were unusable, because .sdi did not announce them. Change-Id: I35bd3009d092eb48a36aee2ffed3964dc61946e2
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/document.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 7abd034ed484..6c75c916f0a1 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -866,6 +866,9 @@ bool ScDocument::RenameTab( SCTAB nTab, const OUString& rName, bool /* bUpdateRe
for (; it != maTabs.end(); ++it)
if ( *it && (*it)->IsStreamValid())
(*it)->SetStreamValid( false );
+
+ if (comphelper::LibreOfficeKit::isActive() && GetDrawLayer())
+ GetDrawLayer()->libreOfficeKitCallback(LOK_CALLBACK_DOCUMENT_SIZE_CHANGED, "");
}
}
}