diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-13 23:44:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-13 23:44:29 +0200 |
commit | a6611be6bc145a9f538a9f1bbe6d40f32ebad1c9 (patch) | |
tree | 9f816a202a4d299ba7cabb2406c5d31bd6a63422 /extensions/source/dbpilots | |
parent | f5051821bc5da0fa7b3de78d21aee305fce3d46b (diff) |
Clean up function declarations and some unused functions
Change-Id: Ie81d270267b6c3c3620ade62eb393b28d995a654
Diffstat (limited to 'extensions/source/dbpilots')
-rw-r--r-- | extensions/source/dbpilots/dbpservices.cxx | 11 | ||||
-rw-r--r-- | extensions/source/dbpilots/dbpservices.hxx | 37 | ||||
-rw-r--r-- | extensions/source/dbpilots/wizardservices.cxx | 2 |
3 files changed, 40 insertions, 10 deletions
diff --git a/extensions/source/dbpilots/dbpservices.cxx b/extensions/source/dbpilots/dbpservices.cxx index ea8841218874..ede2523fecf9 100644 --- a/extensions/source/dbpilots/dbpservices.cxx +++ b/extensions/source/dbpilots/dbpservices.cxx @@ -18,22 +18,13 @@ */ #include "componentmodule.hxx" - - +#include "dbpservices.hxx" using namespace ::rtl; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::registry; - - -extern "C" void SAL_CALL createRegistryInfo_OGroupBoxWizard(); -extern "C" void SAL_CALL createRegistryInfo_OListComboWizard(); -extern "C" void SAL_CALL createRegistryInfo_OGridWizard(); - - - extern "C" void SAL_CALL dbp_initializeModule() { static sal_Bool s_bInit = sal_False; diff --git a/extensions/source/dbpilots/dbpservices.hxx b/extensions/source/dbpilots/dbpservices.hxx new file mode 100644 index 000000000000..bdc6cbcb6690 --- /dev/null +++ b/extensions/source/dbpilots/dbpservices.hxx @@ -0,0 +1,37 @@ +/* -*- 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_EXTENSIONS_SOURCE_DBPILOTS_DBPSERVICES_HXX +#define INCLUDED_EXTENSIONS_SOURCE_DBPILOTS_DBPSERVICES_HXX + +#include <sal/config.h> + +#include <sal/types.h> + +extern "C" { + +void SAL_CALL createRegistryInfo_OGridWizard(); +void SAL_CALL createRegistryInfo_OGroupBoxWizard(); +void SAL_CALL createRegistryInfo_OListComboWizard(); + +} + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/dbpilots/wizardservices.cxx b/extensions/source/dbpilots/wizardservices.cxx index e52eb28b6d87..4c0e3dd0fce2 100644 --- a/extensions/source/dbpilots/wizardservices.cxx +++ b/extensions/source/dbpilots/wizardservices.cxx @@ -17,7 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include "sal/config.h" +#include "dbpservices.hxx" #include "wizardservices.hxx" #include "unoautopilot.hxx" #include "groupboxwiz.hxx" |