summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-25 14:57:44 +0200
committerNoel Grandin <noel@peralex.com>2014-07-11 14:12:25 +0200
commitdac4ca5f682fdd0c3eee7f7ee1d98c9b3c8b7ce4 (patch)
treef0f66445c3f396759c41d7e3294e728653dbfa88 /scripting
parent28b6325901138a6267320902ec889fc434ddde91 (diff)
new loplugin: externalandnotdefined
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/dlgprov/DialogModelProvider.cxx19
-rw-r--r--scripting/source/dlgprov/dlgprov.hxx13
2 files changed, 13 insertions, 19 deletions
diff --git a/scripting/source/dlgprov/DialogModelProvider.cxx b/scripting/source/dlgprov/DialogModelProvider.cxx
index 3e7d8891636a..d3e4aa5ef4f2 100644
--- a/scripting/source/dlgprov/DialogModelProvider.cxx
+++ b/scripting/source/dlgprov/DialogModelProvider.cxx
@@ -24,25 +24,6 @@
#include <cppuhelper/supportsservice.hxx>
-// component helper namespace
-namespace comp_DialogModelProvider {
-
-using namespace ::com::sun::star;
-using namespace awt;
-using namespace lang;
-using namespace uno;
-using namespace script;
-using namespace beans;
-
-
-// component and service helper functions:
-OUString SAL_CALL _getImplementationName();
-css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames();
-
-} // closing component helper namespace
-
-
-
/// anonymous implementation namespace
namespace dlgprov {
diff --git a/scripting/source/dlgprov/dlgprov.hxx b/scripting/source/dlgprov/dlgprov.hxx
index bd31342c5157..3246070d9241 100644
--- a/scripting/source/dlgprov/dlgprov.hxx
+++ b/scripting/source/dlgprov/dlgprov.hxx
@@ -154,6 +154,19 @@ namespace dlgprov
} // namespace dlgprov
+
+// component helper namespace
+namespace comp_DialogModelProvider {
+
+// component and service helper functions:
+OUString SAL_CALL _getImplementationName();
+css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames();
+
+} // namespace comp_DialogModelProvider
+
+
+
+
#endif // INCLUDED_SCRIPTING_SOURCE_DLGPROV_DLGPROV_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */