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
This commit is contained in:
Noel Grandin
2014-06-25 14:57:44 +02:00
parent 28b6325901
commit dac4ca5f68
201 changed files with 1057 additions and 423 deletions

View File

@@ -83,6 +83,14 @@ namespace frm
};
css::uno::Any translateExternalDoubleToControlIntValue(
const css::uno::Any& _rExternalValue, const css::uno::Reference< css::beans::XPropertySet >& _rxProperties,
const OUString& _rMinValueName, const OUString& _rMaxValueName );
css::uno::Any translateControlIntToExternalDoubleValue( const css::uno::Any& _rControlIntValue );
} // namespacefrm

View File

@@ -18,6 +18,7 @@
*/
#include "spinbutton.hxx"
#include "scrollbar.hxx"
#include <comphelper/streamsection.hxx>
#include <comphelper/basicio.hxx>
@@ -44,12 +45,6 @@ namespace frm
//= OSpinButtonModel
// implemented elsewhere
Any translateExternalDoubleToControlIntValue(
const Any& _rExternalValue, const Reference< XPropertySet >& _rxProperties,
const OUString& _rMinValueName, const OUString& _rMaxValueName );
Any translateControlIntToExternalDoubleValue( const Any& _rControlIntValue );
OSpinButtonModel::OSpinButtonModel( const Reference<XComponentContext>& _rxFactory )
:OBoundControlModel( _rxFactory, VCL_CONTROLMODEL_SPINBUTTON, VCL_CONTROL_SPINBUTTON, true, true, false )
,m_nDefaultSpinValue( 0 )