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 --- svx/source/svdraw/svdoutlinercache.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svx/source/svdraw/svdoutlinercache.cxx') diff --git a/svx/source/svdraw/svdoutlinercache.cxx b/svx/source/svdraw/svdoutlinercache.cxx index 8f9eba82e52a..e9697988e043 100644 --- a/svx/source/svdraw/svdoutlinercache.cxx +++ b/svx/source/svdraw/svdoutlinercache.cxx @@ -20,8 +20,7 @@ #include "svdoutlinercache.hxx" #include #include - -extern SdrOutliner* SdrMakeOutliner( sal_uInt16 nOutlinerMode, SdrModel* pModel ); +#include SdrOutlinerCache::SdrOutlinerCache( SdrModel* pModel ) : mpModel( pModel ), -- cgit