From dac4ca5f682fdd0c3eee7f7ee1d98c9b3c8b7ce4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Jun 2014 14:57:44 +0200 Subject: 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 --- basic/source/runtime/methods.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'basic/source/runtime') 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 #include "sbobjmod.hxx" +#include "sbxmod.hxx" #ifdef WNT #include @@ -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()) -- cgit