summaryrefslogtreecommitdiff
path: root/smoketest/libtest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'smoketest/libtest.cxx')
-rw-r--r--smoketest/libtest.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/smoketest/libtest.cxx b/smoketest/libtest.cxx
index ca1f89cc25b0..c6211a9ca6e6 100644
--- a/smoketest/libtest.cxx
+++ b/smoketest/libtest.cxx
@@ -15,6 +15,8 @@
#include <sys/time.h>
#include <LibreOfficeKit/LibreOfficeKit.hxx>
+using namespace ::lok;
+
long getTimeMS()
{
struct timeval t;
@@ -44,7 +46,7 @@ int main (int argc, char **argv)
return 1;
}
- LibLibreOffice *pOffice = lo_cpp_init( argv[1] );
+ Office *pOffice = lo_cpp_init( argv[1] );
if( !pOffice )
{
fprintf( stderr, "Failed to initialize\n" );
@@ -63,7 +65,7 @@ int main (int argc, char **argv)
start = end;
fprintf( stderr, "start to load document '%s'\n", argv[2] );
- LODocument *pDocument = pOffice->documentLoad( argv[2] );
+ Document *pDocument = pOffice->documentLoad( argv[2] );
if( !pDocument )
{
char *pError = pOffice->getError();