summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-20 16:43:04 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-20 15:16:07 +0000
commit3f6ad98c4764402dc6e876106867e49e3e888f8f (patch)
tree1cd35548cfb4dc55e5d2fc43ea48872791b1aa12 /sw/source/uibase/app
parentc544a8b674dd7ac9dd466a84a440ede030942438 (diff)
Remove no longer needed SdrModel::libreOfficeKitCallback()
All former clients are changed to call SfxViewShell::libreOfficeKitViewCallback() instead. Change-Id: Ic5dcf0a8a4241338fcd6941f13ce438157676481 Reviewed-on: https://gerrit.libreoffice.org/26521 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r--sw/source/uibase/app/docsh.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx
index 40d5233821d1..fada17aeaeb6 100644
--- a/sw/source/uibase/app/docsh.cxx
+++ b/sw/source/uibase/app/docsh.cxx
@@ -1338,13 +1338,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: */