summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-02-29 09:07:32 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-02-29 09:12:59 +0100
commit5d54dd644dc44fb02754bc765a3550c38857ccca (patch)
treefb9378201db9a23cb64ec9c76261189f27242f54 /sw
parentf214e8fa3c0c279fbdfa3b2a4e7752e8bcc4b845 (diff)
svx: remove unused SdrModel::getLibreOfficeKitCallback()
Change-Id: Id6a12d40ea43512d2ee22f51034a6a8023f40e9e
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/drawdoc.hxx2
-rw-r--r--sw/source/core/draw/drawdoc.cxx6
2 files changed, 0 insertions, 8 deletions
diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx
index 97efdb5f52bf..339fbc7f9c3d 100644
--- a/sw/inc/drawdoc.hxx
+++ b/sw/inc/drawdoc.hxx
@@ -41,8 +41,6 @@ public:
virtual SdrPage* AllocPage(bool bMasterPage) override;
virtual css::uno::Reference<css::embed::XStorage> GetDocumentStorage() const override;
- /// Get the callback and callback data, previously given to registerLibreOfficeKitCallback().
- void getLibreOfficeKitCallback(LibreOfficeKitCallback& rCallback, void*& rLibreOfficeKitData);
protected:
/// override of <SdrModel::createUnoModel()> is needed to provide corresponding uno model.
diff --git a/sw/source/core/draw/drawdoc.cxx b/sw/source/core/draw/drawdoc.cxx
index 4e295d71bc1b..786d86f91d3a 100644
--- a/sw/source/core/draw/drawdoc.cxx
+++ b/sw/source/core/draw/drawdoc.cxx
@@ -129,12 +129,6 @@ uno::Reference<embed::XStorage> SwDrawModel::GetDocumentStorage() const
return m_pDoc->GetDocStorage();
}
-void SwDrawModel::getLibreOfficeKitCallback(LibreOfficeKitCallback& rCallback, void*& rLibreOfficeKitData)
-{
- rCallback = mpLibreOfficeKitCallback;
- rLibreOfficeKitData = mpLibreOfficeKitData;
-}
-
uno::Reference< uno::XInterface > SwDrawModel::createUnoModel()
{
uno::Reference< uno::XInterface > xModel;