summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/inc/app.hxx2
-rw-r--r--desktop/source/app/cmdlinehelp.cxx2
-rw-r--r--desktop/source/app/sofficemain.cxx3
3 files changed, 3 insertions, 4 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index 02a94b9c2b2b..b067ae6101b3 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -192,6 +192,8 @@ class Desktop : public Application
OUString GetURL_Impl(
const OUString& rName, boost::optional< OUString > const & cwdUrl );
+OUString ReplaceStringHookProc(const OUString& rStr);
+
}
#endif // INCLUDED_DESKTOP_INC_APP_HXX
diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx
index a956038c06f4..f042b46ab721 100644
--- a/desktop/source/app/cmdlinehelp.cxx
+++ b/desktop/source/app/cmdlinehelp.cxx
@@ -132,8 +132,6 @@ namespace desktop
" Eg. -env:UserInstallation=file:///tmp/test to set a non-default user profile path.\n"\
"\nRemaining arguments will be treated as filenames or URLs of documents to open.\n\n";
- OUString ReplaceStringHookProc(const OUString& rStr);
-
void displayCmdlineHelp(OUString const & unknown)
{
// if you put variables in other chunks don't forget to call the replace routines
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index a7072cba50f7..baf6a1be1da1 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -28,6 +28,7 @@
#include <rtl/bootstrap.hxx>
#include <tools/extendapplicationenvironment.hxx>
+#include <vcl/svmain.hxx>
#ifdef ANDROID
@@ -43,8 +44,6 @@
#include <touch/touch.h>
#endif
-int SVMain();
-
extern "C" int DESKTOP_DLLPUBLIC soffice_main()
{
#if defined ANDROID