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:24:36 +0100
commit707a648eb3d8b8c216d4ee1d1f738552c6ac50a0 (patch)
tree9d857d7c6ee16879fff8a1a9c1c0ff967aab5a12 /smoketest
parentb9019d2920e44842926c3fe77c14c14f0af71c90 (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
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;