summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-06-17 19:33:34 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-06-23 12:27:08 +0100
commit204bcc4d891ce1882ed1847decd9cc36c8c5f164 (patch)
tree892214d23d1de48dfb7d7ead159f4c1355004bdc /smoketest
parentbc7943390e0d629d5f7e319cc8044d191fcd4331 (diff)
LOK: kill saveAsWithOptions.
The saveAsWithOptions/saveAs split existed for reasons of historical API compatibility. Since we're breaking the API currently we can now get a clean start, and get rid of the redundant saveAs, and make saveAsWithOptions the standard saveAs function. Change-Id: Ia3e2294a8604cab08e95b07544c9d10d42dd1152 Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/libtest.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/smoketest/libtest.cxx b/smoketest/libtest.cxx
index 211d05616639..8a0b7242c46f 100644
--- a/smoketest/libtest.cxx
+++ b/smoketest/libtest.cxx
@@ -69,16 +69,6 @@ int main (int argc, char **argv)
return -1;
}
- if (!LIBREOFFICEKIT_DOCUMENT_HAS(pDocument->get(), saveAsWithOptions))
- {
- fprintf( stderr, "using obsolete LibreOffice %" SAL_PRI_SIZET "d + %" SAL_PRI_SIZET "d vs. %" SAL_PRI_SIZET "d\n",
- (size_t)((unsigned char *)&((LibreOfficeKitDocumentClass *) 0)->saveAsWithOptions),
- sizeof ((LibreOfficeKitDocumentClass *) 0)->saveAsWithOptions,
- pDocument->get()->pClass->nSize );
- return -1;
- }
-
-
end = getTimeMS();
fprintf( stderr, "load time: %ld ms\n", (end-start) );
start = end;