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 /forms | |
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 'forms')
-rw-r--r-- | forms/source/component/scrollbar.hxx | 8 | ||||
-rw-r--r-- | forms/source/component/spinbutton.cxx | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/forms/source/component/scrollbar.hxx b/forms/source/component/scrollbar.hxx index 50af8b258fee..aee2d41f0fef 100644 --- a/forms/source/component/scrollbar.hxx +++ b/forms/source/component/scrollbar.hxx @@ -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 diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx index fef41b5cf688..79714a329b58 100644 --- a/forms/source/component/spinbutton.cxx +++ b/forms/source/component/spinbutton.cxx @@ -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 ) |