diff options
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 5 | ||||
-rw-r--r-- | smoketest/libtest.cxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index c3da4973a83b..956e3cba6208 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -87,9 +87,7 @@ public: } }; -} - -inline ::lok::Office* lo_cpp_init(const char* pInstallPath) +inline Office* lok_cpp_init(const char* pInstallPath) { LibreOfficeKit* pThis = lok_init(pInstallPath); if (pThis == NULL || pThis->nSize == 0) @@ -97,5 +95,6 @@ inline ::lok::Office* lo_cpp_init(const char* pInstallPath) return new ::lok::Office(pThis); } +} #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/smoketest/libtest.cxx b/smoketest/libtest.cxx index c6211a9ca6e6..07a13ec10edd 100644 --- a/smoketest/libtest.cxx +++ b/smoketest/libtest.cxx @@ -46,7 +46,7 @@ int main (int argc, char **argv) return 1; } - Office *pOffice = lo_cpp_init( argv[1] ); + Office *pOffice = lok_cpp_init( argv[1] ); if( !pOffice ) { fprintf( stderr, "Failed to initialize\n" ); |