summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-07 13:41:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-07 13:41:32 +0200
commit57ecf341a42866c8ed207768603a379173961c71 (patch)
treea200ecf9ecb2b5428e53f7af0bc999a3d76aac46 /vcl/source/app
parentb154c61766b5a5e3f597bad63d799912e5950a02 (diff)
Clean up ImplSVMainHook declaration
Change-Id: I51d7eac6160a3c3abc96733fa30fdcbb41bb5509
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svmain.cxx4
-rw-r--r--vcl/source/app/svmainhook.cxx4
2 files changed, 5 insertions, 3 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index f0277eaa2760..f5b05fef40ac 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -52,6 +52,7 @@
#include "salinst.hxx"
#include "salwtype.hxx"
#include "svdata.hxx"
+#include "svmain.hxx"
#include "dbggui.hxx"
#include "accmgr.hxx"
#include "idlemgr.hxx"
@@ -180,9 +181,6 @@ int ImplSVMain()
int SVMain()
{
- // #i47888# allow for alternative initialization as required for e.g. MacOSX
- extern bool ImplSVMainHook( int* );
-
int nRet;
if( !Application::IsConsoleOnly() && ImplSVMainHook( &nRet ) )
return nRet;
diff --git a/vcl/source/app/svmainhook.cxx b/vcl/source/app/svmainhook.cxx
index 1f2ba0d47daf..4974cff72057 100644
--- a/vcl/source/app/svmainhook.cxx
+++ b/vcl/source/app/svmainhook.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <svmain.hxx>
+
#ifndef MACOSX
// MacOSX implementation of ImplSVMainHook is in osx/salinst.cxx