diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-20 16:43:04 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-20 01:46:23 -0400 |
commit | 2283585d82b60bb613642613525e5e1fc0dd2376 (patch) | |
tree | 2e40a65c3a8aa386c6e1b49aec207ccc9862f241 /sw/source/uibase/app | |
parent | bce02c8547a87bc9c2270c341529d9a13142432a (diff) |
Remove no longer needed SdrModel::libreOfficeKitCallback()
All former clients are changed to call
SfxViewShell::libreOfficeKitViewCallback() instead.
Reviewed-on: https://gerrit.libreoffice.org/26521
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit 3f6ad98c4764402dc6e876106867e49e3e888f8f)
Change-Id: Ic5dcf0a8a4241338fcd6941f13ce438157676481
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index ae41621efd33..efd89626ee62 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -1337,13 +1337,8 @@ bool SwDocShell::GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPas return bRes; } -void SwDocShell::libreOfficeKitCallback(int nType, const char* pPayload) const +void SwDocShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayload*/) const { - if (!m_pDoc) - return; - - SwDrawModel* pDrawModel = m_pDoc->getIDocumentDrawModelAccess().GetDrawModel(); - pDrawModel->libreOfficeKitCallback(nType, pPayload); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |