summaryrefslogtreecommitdiff
path: root/basic/source/uno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-09 10:11:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-09 10:12:02 +0200
commitcc725643fded8c9237403f12bb6eed9d964e55c9 (patch)
tree87391716b4d44bc9d20975fbd36ffccbd85c3aa8 /basic/source/uno
parent48dd43703914b9c756d2ecda1872512b47463902 (diff)
Clean up function declarations and some unused functions
Change-Id: I63c4c61847fea4500b667a5ea9f2b32207692033
Diffstat (limited to 'basic/source/uno')
-rw-r--r--basic/source/uno/dlgcont.cxx1
-rw-r--r--basic/source/uno/sbservices.cxx8
-rw-r--r--basic/source/uno/sbservices.hxx35
-rw-r--r--basic/source/uno/scriptcont.cxx1
4 files changed, 38 insertions, 7 deletions
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx
index 15415c251109..a759eea503da 100644
--- a/basic/source/uno/dlgcont.cxx
+++ b/basic/source/uno/dlgcont.cxx
@@ -33,6 +33,7 @@
#include <com/sun/star/document/GraphicObjectResolver.hpp>
#include "dlgcont.hxx"
#include "sbmodule.hxx"
+#include "sbservices.hxx"
#include <comphelper/processfactory.hxx>
#include <unotools/streamwrap.hxx>
#include <osl/mutex.hxx>
diff --git a/basic/source/uno/sbservices.cxx b/basic/source/uno/sbservices.cxx
index bc4dcb5f1862..e3eafb958ea4 100644
--- a/basic/source/uno/sbservices.cxx
+++ b/basic/source/uno/sbservices.cxx
@@ -18,16 +18,10 @@
*/
#include "sbmodule.hxx"
-
+#include "sbservices.hxx"
namespace basic
{
-
-
-
- extern void createRegistryInfo_SfxDialogLibraryContainer();
- extern void createRegistryInfo_SfxScriptLibraryContainer();
-
static void initializeModule()
{
static bool bInitialized( false );
diff --git a/basic/source/uno/sbservices.hxx b/basic/source/uno/sbservices.hxx
new file mode 100644
index 000000000000..a344b27f734a
--- /dev/null
+++ b/basic/source/uno/sbservices.hxx
@@ -0,0 +1,35 @@
+/* -*- 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_BASIC_SOURCE_UNO_SBSERVICES_HXX
+#define INCLUDED_BASIC_SOURCE_UNO_SBSERVICES_HXX
+
+#include <sal/config.h>
+
+namespace basic {
+
+void createRegistryInfo_SfxDialogLibraryContainer();
+
+void createRegistryInfo_SfxScriptLibraryContainer();
+
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index c7117ef41824..486eb96652c1 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -19,6 +19,7 @@
#include "scriptcont.hxx"
#include "sbmodule.hxx"
+#include "sbservices.hxx"
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/InputSource.hpp>