diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-25 14:57:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-11 14:12:25 +0200 |
commit | dac4ca5f682fdd0c3eee7f7ee1d98c9b3c8b7ce4 (patch) | |
tree | f0f66445c3f396759c41d7e3294e728653dbfa88 /basic/source/runtime | |
parent | 28b6325901138a6267320902ec889fc434ddde91 (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 'basic/source/runtime')
-rw-r--r-- | basic/source/runtime/methods.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 95ac76ea9306..3397f56d8f0b 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -85,6 +85,7 @@ using namespace com::sun::star::uno; #include <errno.h> #include "sbobjmod.hxx" +#include "sbxmod.hxx" #ifdef WNT #include <prewin.h> @@ -95,9 +96,6 @@ using namespace com::sun::star::uno; #ifndef DISABLE_SCRIPTING -// from source/classes/sbxmod.cxx -uno::Reference< frame::XModel > getDocumentModel( StarBASIC* ); - static void FilterWhiteSpace( OUString& rStr ) { if (rStr.isEmpty()) |