summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-06-17 19:57:25 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-06-18 12:05:41 +0100
commita66b897ba4eed3e4d75aae785115bdc2bf051207 (patch)
tree08f17f456537d4a682e1b83c5c059caed5ffd396 /include
parente9ef07ed691399119b6bc5f1d2d79222667766c6 (diff)
LOK: kill double initialize.
Change-Id: I4d3dd913faea8b9f4a0bd3c13af37d097ced9888
Diffstat (limited to 'include')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.h1
-rw-r--r--include/LibreOfficeKit/LibreOfficeKit.hxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.h b/include/LibreOfficeKit/LibreOfficeKit.h
index 6bc91e453456..63c2c22cd471 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.h
+++ b/include/LibreOfficeKit/LibreOfficeKit.h
@@ -40,7 +40,6 @@ struct _LibreOfficeKitClass
size_t nSize;
void (*destroy) (LibreOfficeKit *pThis);
- int (*initialize) (LibreOfficeKit *pThis, const char *pInstallPath);
LibreOfficeKitDocument* (*documentLoad) (LibreOfficeKit *pThis, const char *pURL);
char* (*getError) (LibreOfficeKit *pThis);
};
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx
index 4cd502addd97..f1db388655f0 100644
--- a/include/LibreOfficeKit/LibreOfficeKit.hxx
+++ b/include/LibreOfficeKit/LibreOfficeKit.hxx
@@ -64,11 +64,6 @@ public:
mpThis->pClass->destroy(mpThis);
}
- inline bool initialize(const char* pInstallPath)
- {
- return mpThis->pClass->initialize(mpThis, pInstallPath);
- }
-
inline Document* documentLoad(const char* pUrl)
{
LibreOfficeKitDocument* pDoc = mpThis->pClass->documentLoad(mpThis, pUrl);