Kaydet (Commit) 57ecf341 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up ImplSVMainHook declaration

Change-Id: I51d7eac6160a3c3abc96733fa30fdcbb41bb5509
üst b154c617
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_VCL_INC_SVMAIN_HXX
#define INCLUDED_VCL_INC_SVMAIN_HXX
#include <sal/config.h>
// #i47888# allow for alternative initialization as required for e.g. MacOSX
bool ImplSVMainHook( int* );
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -46,6 +46,7 @@
#include "print.h"
#include "impbmp.hxx"
#include "salimestatus.hxx"
#include "svmain.hxx"
#include <comphelper/processfactory.hxx>
......
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment